Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | extern QString qt_normalizePathSegments(const QString &name, bool allowUncPaths); | - |
7 | | - |
8 | inline static bool isHex(char c) | - |
9 | { | - |
10 | c |= 0x20; | - |
11 | returnexecuted 59 times by 2 tests: return (c >= '0' && c <= '9') || (c >= 'a' && c <= 'f'); Executed by:- tst_QNetworkRequest
- tst_QUrl
(c >= '0' && c <= '9') || (c >= 'a' && c <= 'f');executed 59 times by 2 tests: return (c >= '0' && c <= '9') || (c >= 'a' && c <= 'f'); Executed by:- tst_QNetworkRequest
- tst_QUrl
| 59 |
12 | } | - |
13 | | - |
14 | static inline QString ftpScheme() | - |
15 | { | - |
16 | returnexecuted 55 times by 2 tests: return ([]() -> QString { enum { Size = sizeof(u"" "ftp")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "ftp" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); Executed by:- tst_QNetworkReply
- tst_QUrl
([]() -> QString { enum { Size = sizeof(u"" "ftp")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "ftp" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 55 times by 2 tests: return qstring_literal_temp; Executed by:- tst_QNetworkReply
- tst_QUrl
qstring_literal_temp;executed 55 times by 2 tests: return qstring_literal_temp; Executed by:- tst_QNetworkReply
- tst_QUrl
}());executed 55 times by 2 tests: return ([]() -> QString { enum { Size = sizeof(u"" "ftp")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "ftp" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); Executed by:- tst_QNetworkReply
- tst_QUrl
| 55 |
17 | } | - |
18 | | - |
19 | static inline QString fileScheme() | - |
20 | { | - |
21 | returnexecuted 17440 times by 33 tests: return ([]() -> QString { enum { Size = sizeof(u"" "file")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "file" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); Executed by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- ...
([]() -> QString { enum { Size = sizeof(u"" "file")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "file" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 17440 times by 33 tests: return qstring_literal_temp; Executed by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- ...
qstring_literal_temp;executed 17440 times by 33 tests: return qstring_literal_temp; Executed by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- ...
}());executed 17440 times by 33 tests: return ([]() -> QString { enum { Size = sizeof(u"" "file")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "file" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); Executed by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- ...
| 17440 |
22 | } | - |
23 | | - |
24 | static inline QString webDavScheme() | - |
25 | { | - |
26 | returnexecuted 1 time by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "webdavs")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "webdavs" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); ([]() -> QString { enum { Size = sizeof(u"" "webdavs")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "webdavs" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 1 time by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 1 time by 1 test: return qstring_literal_temp; }());executed 1 time by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "webdavs")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "webdavs" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); | 1 |
27 | } | - |
28 | | - |
29 | static inline QString webDavSslTag() | - |
30 | { | - |
31 | returnexecuted 4 times by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "@SSL")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "@SSL" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); ([]() -> QString { enum { Size = sizeof(u"" "@SSL")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "@SSL" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 4 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 4 times by 1 test: return qstring_literal_temp; }());executed 4 times by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "@SSL")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "@SSL" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); | 4 |
32 | } | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | class QUrlPrivate | - |
41 | { | - |
42 | public: | - |
43 | enum Section : uchar { | - |
44 | Scheme = 0x01, | - |
45 | UserName = 0x02, | - |
46 | Password = 0x04, | - |
47 | UserInfo = UserName | Password, | - |
48 | Host = 0x08, | - |
49 | Port = 0x10, | - |
50 | Authority = UserInfo | Host | Port, | - |
51 | Path = 0x20, | - |
52 | Hierarchy = Authority | Path, | - |
53 | Query = 0x40, | - |
54 | Fragment = 0x80, | - |
55 | FullUrl = 0xff | - |
56 | }; | - |
57 | | - |
58 | enum Flags : uchar { | - |
59 | IsLocalFile = 0x01 | - |
60 | }; | - |
61 | | - |
62 | enum ErrorCode { | - |
63 | | - |
64 | | - |
65 | InvalidSchemeError = Scheme << 8, | - |
66 | | - |
67 | InvalidUserNameError = UserName << 8, | - |
68 | | - |
69 | InvalidPasswordError = Password << 8, | - |
70 | | - |
71 | InvalidRegNameError = Host << 8, | - |
72 | InvalidIPv4AddressError, | - |
73 | InvalidIPv6AddressError, | - |
74 | InvalidCharacterInIPv6Error, | - |
75 | InvalidIPvFutureError, | - |
76 | HostMissingEndBracket, | - |
77 | | - |
78 | InvalidPortError = Port << 8, | - |
79 | PortEmptyError, | - |
80 | | - |
81 | InvalidPathError = Path << 8, | - |
82 | | - |
83 | InvalidQueryError = Query << 8, | - |
84 | | - |
85 | InvalidFragmentError = Fragment << 8, | - |
86 | | - |
87 | | - |
88 | | - |
89 | AuthorityPresentAndPathIsRelative = Authority << 8 | Path << 8 | 0x10000, | - |
90 | RelativeUrlPathContainsColonBeforeSlash = Scheme << 8 | Authority << 8 | Path << 8 | 0x10000, | - |
91 | | - |
92 | NoError = 0 | - |
93 | }; | - |
94 | | - |
95 | struct Error { | - |
96 | QString source; | - |
97 | ErrorCode code; | - |
98 | int position; | - |
99 | }; | - |
100 | | - |
101 | QUrlPrivate(); | - |
102 | QUrlPrivate(const QUrlPrivate ©); | - |
103 | ~QUrlPrivate(); | - |
104 | | - |
105 | void parse(const QString &url, QUrl::ParsingMode parsingMode); | - |
106 | bool isEmpty() const | - |
107 | { returnexecuted 17289 times by 32 tests: return sectionIsPresent == 0 && port == -1 && path.isEmpty(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- ...
sectionIsPresent == 0 && port == -1 && path.isEmpty();executed 17289 times by 32 tests: return sectionIsPresent == 0 && port == -1 && path.isEmpty(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- ...
} | 17289 |
108 | | - |
109 | Error *cloneError() const; | - |
110 | void clearError(); | - |
111 | void setError(ErrorCode errorCode, const QString &source, int supplement = -1); | - |
112 | ErrorCode validityError(QString *source = 0, int *position = 0) const; | - |
113 | bool validateComponent(Section section, const QString &input, int begin, int end); | - |
114 | bool validateComponent(Section section, const QString &input) | - |
115 | { returnexecuted 21 times by 1 test: return validateComponent(section, input, 0, uint(input.length())); validateComponent(section, input, 0, uint(input.length()));executed 21 times by 1 test: return validateComponent(section, input, 0, uint(input.length())); } | 21 |
116 | | - |
117 | | - |
118 | void appendAuthority(QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const; | - |
119 | void appendUserInfo(QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const; | - |
120 | void appendUserName(QString &appendTo, QUrl::FormattingOptions options) const; | - |
121 | void appendPassword(QString &appendTo, QUrl::FormattingOptions options) const; | - |
122 | void appendHost(QString &appendTo, QUrl::FormattingOptions options) const; | - |
123 | void appendPath(QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const; | - |
124 | void appendQuery(QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const; | - |
125 | void appendFragment(QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const; | - |
126 | | - |
127 | | - |
128 | bool setScheme(const QString &value, int len, bool doSetError); | - |
129 | void setAuthority(const QString &auth, int from, int end, QUrl::ParsingMode mode); | - |
130 | void setUserInfo(const QString &userInfo, int from, int end); | - |
131 | void setUserName(const QString &value, int from, int end); | - |
132 | void setPassword(const QString &value, int from, int end); | - |
133 | bool setHost(const QString &value, int from, int end, QUrl::ParsingMode mode); | - |
134 | void setPath(const QString &value, int from, int end); | - |
135 | void setQuery(const QString &value, int from, int end); | - |
136 | void setFragment(const QString &value, int from, int end); | - |
137 | | - |
138 | inline bool hasScheme() const { returnexecuted 10891 times by 31 tests: return sectionIsPresent & Scheme; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- ...
sectionIsPresent & Scheme;executed 10891 times by 31 tests: return sectionIsPresent & Scheme; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- ...
} | 10891 |
139 | inline bool hasAuthority() const { returnexecuted 10496 times by 30 tests: return sectionIsPresent & Authority; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlStream
- ...
sectionIsPresent & Authority;executed 10496 times by 30 tests: return sectionIsPresent & Authority; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_QXmlStream
- ...
} | 10496 |
140 | inline bool hasUserInfo() const { returnexecuted 6896 times by 20 tests: return sectionIsPresent & UserInfo; Executed by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
sectionIsPresent & UserInfo;executed 6896 times by 20 tests: return sectionIsPresent & UserInfo; Executed by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
} | 6896 |
141 | inline bool hasUserName() const { returnexecuted 4548 times by 17 tests: return sectionIsPresent & UserName; Executed by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
sectionIsPresent & UserName;executed 4548 times by 17 tests: return sectionIsPresent & UserName; Executed by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
} | 4548 |
142 | inline bool hasPassword() const { returnexecuted 4337 times by 17 tests: return sectionIsPresent & Password; Executed by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
sectionIsPresent & Password;executed 4337 times by 17 tests: return sectionIsPresent & Password; Executed by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
} | 4337 |
143 | inline bool hasHost() const { return never executed: return sectionIsPresent & Host; sectionIsPresent & Host;never executed: return sectionIsPresent & Host; } | 0 |
144 | inline bool hasPort() const { return never executed: return port != -1; port != -1;never executed: return port != -1; } | 0 |
145 | inline bool hasPath() const { return never executed: return !path.isEmpty(); !path.isEmpty();never executed: return !path.isEmpty(); } | 0 |
146 | inline bool hasQuery() const { returnexecuted 10978 times by 33 tests: return sectionIsPresent & Query; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- ...
sectionIsPresent & Query;executed 10978 times by 33 tests: return sectionIsPresent & Query; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- ...
} | 10978 |
147 | inline bool hasFragment() const { returnexecuted 10982 times by 30 tests: return sectionIsPresent & Fragment; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
- tst_QXmlStream
- ...
sectionIsPresent & Fragment;executed 10982 times by 30 tests: return sectionIsPresent & Fragment; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
- tst_QXmlStream
- ...
} | 10982 |
148 | | - |
149 | inline bool isLocalFile() const { returnexecuted 21307 times by 34 tests: return flags & IsLocalFile; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- ...
flags & IsLocalFile;executed 21307 times by 34 tests: return flags & IsLocalFile; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- ...
} | 21307 |
150 | QString toLocalFile(QUrl::FormattingOptions options) const; | - |
151 | | - |
152 | QString mergePaths(const QString &relativePath) const; | - |
153 | | - |
154 | QAtomicInt ref; | - |
155 | int port; | - |
156 | | - |
157 | QString scheme; | - |
158 | QString userName; | - |
159 | QString password; | - |
160 | QString host; | - |
161 | QString path; | - |
162 | QString query; | - |
163 | QString fragment; | - |
164 | | - |
165 | Error *error; | - |
166 | | - |
167 | | - |
168 | | - |
169 | | - |
170 | | - |
171 | uchar sectionIsPresent; | - |
172 | uchar flags; | - |
173 | | - |
174 | | - |
175 | | - |
176 | }; | - |
177 | | - |
178 | | - |
179 | inline QUrlPrivate::QUrlPrivate() | - |
180 | : ref(1), port(-1), | - |
181 | error(0), | - |
182 | sectionIsPresent(0), | - |
183 | flags(0) | - |
184 | { | - |
185 | }executed 24302 times by 55 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- ...
| 24302 |
186 | | - |
187 | inline QUrlPrivate::QUrlPrivate(const QUrlPrivate ©) | - |
188 | : ref(1), port(copy.port), | - |
189 | scheme(copy.scheme), | - |
190 | userName(copy.userName), | - |
191 | password(copy.password), | - |
192 | host(copy.host), | - |
193 | path(copy.path), | - |
194 | query(copy.query), | - |
195 | fragment(copy.fragment), | - |
196 | error(copy.cloneError()), | - |
197 | sectionIsPresent(copy.sectionIsPresent), | - |
198 | flags(copy.flags) | - |
199 | { | - |
200 | }executed 9132 times by 17 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
| 9132 |
201 | | - |
202 | inline QUrlPrivate::~QUrlPrivate() | - |
203 | { | - |
204 | delete error; | - |
205 | }executed 33428 times by 62 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- ...
| 33428 |
206 | | - |
207 | inline QUrlPrivate::Error *QUrlPrivate::cloneError() const | - |
208 | { | - |
209 | returnexecuted 9132 times by 17 tests: return error ? new Error(*error) : 0; Executed by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
error ? new Error(*error) : 0;executed 9132 times by 17 tests: return error ? new Error(*error) : 0; Executed by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
| 9132 |
210 | } | - |
211 | | - |
212 | inline void QUrlPrivate::clearError() | - |
213 | { | - |
214 | delete error; | - |
215 | error = 0; | - |
216 | }executed 46907 times by 55 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- ...
| 46907 |
217 | | - |
218 | inline void QUrlPrivate::setError(ErrorCode errorCode, const QString &source, int supplement) | - |
219 | { | - |
220 | if (errorTRUE | evaluated 41 times by 5 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| FALSE | evaluated 263 times by 8 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkRequest
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
|
) { | 41-263 |
221 | | - |
222 | return;executed 41 times by 5 tests: return; Executed by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| 41 |
223 | } | - |
224 | error = new Error; | - |
225 | error->code = errorCode; | - |
226 | error->source = source; | - |
227 | error->position = supplement; | - |
228 | }executed 263 times by 8 tests: end of block Executed by:- tst_QNetworkProxyFactory
- tst_QNetworkRequest
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| 263 |
229 | static const ushort userNameInIsolation[] = { | - |
230 | ushort(':'), | - |
231 | ushort('@'), | - |
232 | ushort(']'), | - |
233 | ushort('['), | - |
234 | ushort('/'), | - |
235 | ushort('?'), | - |
236 | ushort('#'), | - |
237 | | - |
238 | ushort('"'), | - |
239 | ushort('<'), | - |
240 | ushort('>'), | - |
241 | ushort('^'), | - |
242 | ushort('\\'), | - |
243 | ushort('|'), | - |
244 | ushort('{'), | - |
245 | ushort('}'), | - |
246 | 0 | - |
247 | }; | - |
248 | static const ushort * const passwordInIsolation = userNameInIsolation + 1; | - |
249 | static const ushort * const pathInIsolation = userNameInIsolation + 5; | - |
250 | static const ushort * const queryInIsolation = userNameInIsolation + 6; | - |
251 | static const ushort * const fragmentInIsolation = userNameInIsolation + 7; | - |
252 | | - |
253 | static const ushort userNameInUserInfo[] = { | - |
254 | ushort(0x200 | (':')), | - |
255 | ushort('@'), | - |
256 | ushort(']'), | - |
257 | ushort('['), | - |
258 | ushort('/'), | - |
259 | ushort('?'), | - |
260 | ushort('#'), | - |
261 | | - |
262 | ushort('"'), | - |
263 | ushort('<'), | - |
264 | ushort('>'), | - |
265 | ushort('^'), | - |
266 | ushort('\\'), | - |
267 | ushort('|'), | - |
268 | ushort('{'), | - |
269 | ushort('}'), | - |
270 | 0 | - |
271 | }; | - |
272 | static const ushort * const passwordInUserInfo = userNameInUserInfo + 1; | - |
273 | | - |
274 | static const ushort userNameInAuthority[] = { | - |
275 | ushort(0x200 | (':')), | - |
276 | ushort(0x200 | ('@')), | - |
277 | ushort(0x200 | (']')), | - |
278 | ushort(0x200 | ('[')), | - |
279 | ushort('/'), | - |
280 | ushort('?'), | - |
281 | ushort('#'), | - |
282 | | - |
283 | ushort('"'), | - |
284 | ushort('<'), | - |
285 | ushort('>'), | - |
286 | ushort('^'), | - |
287 | ushort('\\'), | - |
288 | ushort('|'), | - |
289 | ushort('{'), | - |
290 | ushort('}'), | - |
291 | 0 | - |
292 | }; | - |
293 | static const ushort * const passwordInAuthority = userNameInAuthority + 1; | - |
294 | | - |
295 | static const ushort userNameInUrl[] = { | - |
296 | ushort(0x200 | (':')), | - |
297 | ushort(0x200 | ('@')), | - |
298 | ushort(0x200 | (']')), | - |
299 | ushort(0x200 | ('[')), | - |
300 | ushort(0x200 | ('/')), | - |
301 | ushort(0x200 | ('?')), | - |
302 | ushort(0x200 | ('#')), | - |
303 | | - |
304 | | - |
305 | 0 | - |
306 | }; | - |
307 | static const ushort * const passwordInUrl = userNameInUrl + 1; | - |
308 | static const ushort * const pathInUrl = userNameInUrl + 5; | - |
309 | static const ushort * const queryInUrl = userNameInUrl + 6; | - |
310 | static const ushort * const fragmentInUrl = userNameInUrl + 6; | - |
311 | | - |
312 | static inline void parseDecodedComponent(QString &data) | - |
313 | { | - |
314 | data.replace(QLatin1Char('%'), QLatin1String("%25")); | - |
315 | }executed 14930 times by 40 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSidebar
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- ...
| 14930 |
316 | | - |
317 | static inline QString | - |
318 | recodeFromUser(const QString &input, const ushort *actions, int from, int to) | - |
319 | { | - |
320 | QString output; | - |
321 | const QChar *begin = input.constData() + from; | - |
322 | const QChar *end = input.constData() + to; | - |
323 | if (qt_urlRecode(output, begin, end, 0, actions)TRUE | evaluated 197 times by 6 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
| FALSE | evaluated 19883 times by 35 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- ...
|
) | 197-19883 |
324 | returnexecuted 197 times by 6 tests: return output; Executed by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
output;executed 197 times by 6 tests: return output; Executed by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
| 197 |
325 | | - |
326 | returnexecuted 19883 times by 35 tests: return input.mid(from, to - from); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- ...
input.mid(from, to - from);executed 19883 times by 35 tests: return input.mid(from, to - from); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- ...
| 19883 |
327 | } | - |
328 | | - |
329 | | - |
330 | | - |
331 | static inline void appendToUser(QString &appendTo, const QString &value, QUrl::FormattingOptions options, | - |
332 | const ushort *actions) | - |
333 | { | - |
334 | if (options == QUrl::PrettyDecodedTRUE | evaluated 291 times by 4 testsEvaluated by:- tst_QNetworkReply
- tst_QTextBrowser
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 25323 times by 33 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- ...
|
) { | 291-25323 |
335 | appendTo += value; | - |
336 | return;executed 291 times by 4 tests: return; Executed by:- tst_QNetworkReply
- tst_QTextBrowser
- tst_QUrl
- tst_Spdy
| 291 |
337 | } | - |
338 | | - |
339 | if (!qt_urlRecode(appendTo, value.constData(), value.constEnd(), options, actions)TRUE | evaluated 24378 times by 33 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- ...
| FALSE | evaluated 945 times by 7 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
- tst_Spdy
|
) | 945-24378 |
340 | appendTo += value;executed 24378 times by 33 tests: appendTo += value; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- ...
| 24378 |
341 | }executed 25323 times by 33 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- ...
| 25323 |
342 | | - |
343 | inline void QUrlPrivate::appendAuthority(QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const | - |
344 | { | - |
345 | if ((TRUE | evaluated 4548 times by 17 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
| FALSE | evaluated 1081 times by 9 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
|
options & QUrl::RemoveUserInfo) != QUrl::RemoveUserInfoTRUE | evaluated 4548 times by 17 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
| FALSE | evaluated 1081 times by 9 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
|
) { | 1081-4548 |
346 | appendUserInfo(appendTo, options, appendingTo); | - |
347 | | - |
348 | | - |
349 | if (hasUserName()TRUE | evaluated 627 times by 5 testsEvaluated by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 3921 times by 16 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
|
|| (hasPassword()TRUE | evaluated 98 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
| FALSE | evaluated 3823 times by 16 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
|
&& (TRUE | evaluated 7 times by 1 test | FALSE | evaluated 91 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
|
options & QUrl::RemovePassword) == 0TRUE | evaluated 7 times by 1 test | FALSE | evaluated 91 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
|
)) | 7-3921 |
350 | appendTo += QLatin1Char('@');executed 634 times by 5 tests: appendTo += QLatin1Char('@'); Executed by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 634 |
351 | }executed 4548 times by 17 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
| 4548 |
352 | appendHost(appendTo, options); | - |
353 | if (!(options & QUrl::RemovePort)TRUE | evaluated 5625 times by 20 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
| FALSE | evaluated 4 times by 1 test |
&& port != -1TRUE | evaluated 1782 times by 9 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
| FALSE | evaluated 3843 times by 15 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
|
) | 4-5625 |
354 | appendTo += QLatin1Char(':') + QString::number(port);executed 1782 times by 9 tests: appendTo += QLatin1Char(':') + QString::number(port); Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
| 1782 |
355 | }executed 5629 times by 20 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
| 5629 |
356 | | - |
357 | inline void QUrlPrivate::appendUserInfo(QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const | - |
358 | { | - |
359 | if (__builtin_expect(!!(!hasUserInfo()), true)TRUE | evaluated 6106 times by 19 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
| FALSE | evaluated 790 times by 5 testsEvaluated by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
|
) | 790-6106 |
360 | return;executed 6106 times by 19 tests: return; Executed by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
| 6106 |
361 | | - |
362 | const ushort *userNameActions; | - |
363 | const ushort *passwordActions; | - |
364 | if (options & QUrl::EncodeDelimitersTRUE | evaluated 605 times by 5 testsEvaluated by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 185 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
|
) { | 185-605 |
365 | userNameActions = userNameInUrl; | - |
366 | passwordActions = passwordInUrl; | - |
367 | }executed 605 times by 5 tests: end of block Executed by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
else { | 605 |
368 | switch (appendingTo) { | - |
369 | caseexecuted 57 times by 2 tests: case UserInfo: Executed by:- tst_QNetworkReply
- tst_QUrl
UserInfo:executed 57 times by 2 tests: case UserInfo: Executed by:- tst_QNetworkReply
- tst_QUrl
| 57 |
370 | userNameActions = userNameInUserInfo; | - |
371 | passwordActions = passwordInUserInfo; | - |
372 | break;executed 57 times by 2 tests: break; Executed by:- tst_QNetworkReply
- tst_QUrl
| 57 |
373 | | - |
374 | caseexecuted 25 times by 1 test: case Authority: Authority:executed 25 times by 1 test: case Authority: | 25 |
375 | userNameActions = userNameInAuthority; | - |
376 | passwordActions = passwordInAuthority; | - |
377 | break;executed 25 times by 1 test: break; | 25 |
378 | | - |
379 | caseexecuted 103 times by 2 tests: case FullUrl: Executed by:- tst_QNetworkReply
- tst_QUrl
FullUrl:executed 103 times by 2 tests: case FullUrl: Executed by:- tst_QNetworkReply
- tst_QUrl
| 103 |
380 | userNameActions = userNameInUrl; | - |
381 | passwordActions = passwordInUrl; | - |
382 | break;executed 103 times by 2 tests: break; Executed by:- tst_QNetworkReply
- tst_QUrl
| 103 |
383 | | - |
384 | default never executed: default: :never executed: default: | 0 |
385 | | - |
386 | do { ((!(false)) ? qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached",__FILE__,894) : qt_noop()); __builtin_unreachable(); } while (0); | - |
387 | break; never executed: break; | 0 |
388 | } | - |
389 | } | - |
390 | | - |
391 | if (!qt_urlRecode(appendTo, userName.constData(), userName.constEnd(), options, userNameActions)TRUE | evaluated 723 times by 5 testsEvaluated by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 67 times by 1 test |
) | 67-723 |
392 | appendTo += userName;executed 723 times by 5 tests: appendTo += userName; Executed by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 723 |
393 | if (options & QUrl::RemovePassword || !hasPassword()TRUE | evaluated 191 times by 5 testsEvaluated by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 225 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
|
) { | 191-225 |
394 | return;executed 565 times by 5 tests: return; Executed by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 565 |
395 | } else { | - |
396 | appendTo += QLatin1Char(':'); | - |
397 | if (!qt_urlRecode(appendTo, password.constData(), password.constEnd(), options, passwordActions)TRUE | evaluated 168 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
| FALSE | evaluated 57 times by 1 test |
) | 57-168 |
398 | appendTo += password;executed 168 times by 2 tests: appendTo += password; Executed by:- tst_QNetworkReply
- tst_QUrl
| 168 |
399 | }executed 225 times by 2 tests: end of block Executed by:- tst_QNetworkReply
- tst_QUrl
| 225 |
400 | } | - |
401 | | - |
402 | inline void QUrlPrivate::appendUserName(QString &appendTo, QUrl::FormattingOptions options) const | - |
403 | { | - |
404 | | - |
405 | appendToUser(appendTo, userName, options, | - |
406 | options & QUrl::EncodeDelimiters ? userNameInUrl : userNameInIsolation); | - |
407 | }executed 783 times by 3 tests: end of block Executed by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
| 783 |
408 | | - |
409 | inline void QUrlPrivate::appendPassword(QString &appendTo, QUrl::FormattingOptions options) const | - |
410 | { | - |
411 | | - |
412 | appendToUser(appendTo, password, options, | - |
413 | options & QUrl::EncodeDelimiters ? passwordInUrl : passwordInIsolation); | - |
414 | }executed 577 times by 6 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 577 |
415 | | - |
416 | inline void QUrlPrivate::appendPath(QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const | - |
417 | { | - |
418 | QString thePath = path; | - |
419 | if (options & QUrl::NormalizePathSegmentsTRUE | evaluated 19 times by 1 test | FALSE | evaluated 22596 times by 33 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- ...
|
) { | 19-22596 |
420 | thePath = qt_normalizePathSegments(path, false); | - |
421 | }executed 19 times by 1 test: end of block | 19 |
422 | if (options & QUrl::RemoveFilenameTRUE | evaluated 54 times by 1 test | FALSE | evaluated 22561 times by 33 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- ...
|
) { | 54-22561 |
423 | const int slash = path.lastIndexOf(QLatin1Char('/')); | - |
424 | if (slash == -1TRUE | evaluated 5 times by 1 test | FALSE | evaluated 49 times by 1 test |
) | 5-49 |
425 | return;executed 5 times by 1 test: return; | 5 |
426 | thePath = path.left(slash+1); | - |
427 | }executed 49 times by 1 test: end of block | 49 |
428 | | - |
429 | if (options & QUrl::StripTrailingSlashTRUE | evaluated 44 times by 1 test | FALSE | evaluated 22566 times by 33 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- ...
|
) { | 44-22566 |
430 | while (thePath.length() > 1TRUE | evaluated 58 times by 1 test | FALSE | evaluated 16 times by 1 test |
&& thePath.endsWith(QLatin1Char('/'))TRUE | evaluated 30 times by 1 test | FALSE | evaluated 28 times by 1 test |
) | 16-58 |
431 | thePath.chop(1);executed 30 times by 1 test: thePath.chop(1); | 30 |
432 | }executed 44 times by 1 test: end of block | 44 |
433 | | - |
434 | appendToUser(appendTo, thePath, options, | - |
435 | appendingTo == FullUrl || options & QUrl::EncodeDelimiters ? pathInUrl : pathInIsolation); | - |
436 | | - |
437 | }executed 22610 times by 33 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- ...
| 22610 |
438 | | - |
439 | inline void QUrlPrivate::appendFragment(QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const | - |
440 | { | - |
441 | appendToUser(appendTo, fragment, options, | - |
442 | options & QUrl::EncodeDelimiters ? fragmentInUrl : | - |
443 | appendingTo == FullUrl ? 0 : fragmentInIsolation); | - |
444 | }executed 920 times by 4 tests: end of block Executed by:- tst_QNetworkReply
- tst_QTextBrowser
- tst_QUrl
- tst_Spdy
| 920 |
445 | | - |
446 | inline void QUrlPrivate::appendQuery(QString &appendTo, QUrl::FormattingOptions options, Section appendingTo) const | - |
447 | { | - |
448 | appendToUser(appendTo, query, options, | - |
449 | appendingTo == FullUrl || options & QUrl::EncodeDelimiters ? queryInUrl : queryInIsolation); | - |
450 | }executed 724 times by 4 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 724 |
451 | | - |
452 | | - |
453 | | - |
454 | inline bool QUrlPrivate::setScheme(const QString &value, int len, bool doSetError) | - |
455 | { | - |
456 | | - |
457 | | - |
458 | | - |
459 | | - |
460 | | - |
461 | | - |
462 | | - |
463 | scheme.clear(); | - |
464 | if (len == 0TRUE | evaluated 6 times by 4 testsEvaluated by:- tst_QPlainTextEdit
- tst_QTextDocument
- tst_QTextEdit
- tst_QUrl
| FALSE | evaluated 12241 times by 33 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- ...
|
) | 6-12241 |
465 | returnexecuted 6 times by 4 tests: return false; Executed by:- tst_QPlainTextEdit
- tst_QTextDocument
- tst_QTextEdit
- tst_QUrl
false;executed 6 times by 4 tests: return false; Executed by:- tst_QPlainTextEdit
- tst_QTextDocument
- tst_QTextEdit
- tst_QUrl
| 6 |
466 | | - |
467 | sectionIsPresent |= Scheme; | - |
468 | | - |
469 | | - |
470 | int needsLowercasing = -1; | - |
471 | const ushort *p = reinterpret_cast<const ushort *>(value.constData()); | - |
472 | for (int i = 0; i < lenTRUE | evaluated 51343 times by 33 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- ...
| FALSE | evaluated 12112 times by 33 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- ...
|
; ++i) { | 12112-51343 |
473 | if (p[i] >= 'a'TRUE | evaluated 50436 times by 33 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- ...
| FALSE | evaluated 907 times by 5 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
- tst_Spdy
|
&& p[i] <= 'z'TRUE | evaluated 50418 times by 33 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- ...
| FALSE | evaluated 18 times by 1 test |
) | 18-50436 |
474 | continue;executed 50418 times by 33 tests: continue; Executed by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- ...
| 50418 |
475 | if (p[i] >= 'A'TRUE | evaluated 308 times by 1 test | FALSE | evaluated 617 times by 5 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
- tst_Spdy
|
&& p[i] <= 'Z'TRUE | evaluated 272 times by 1 test | FALSE | evaluated 36 times by 1 test |
) { | 36-617 |
476 | needsLowercasing = i; | - |
477 | continue;executed 272 times by 1 test: continue; | 272 |
478 | } | - |
479 | if (iTRUE | evaluated 615 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 38 times by 2 testsEvaluated by:- tst_QNetworkRequest
- tst_QUrl
|
) { | 38-615 |
480 | if (p[i] >= '0'TRUE | evaluated 192 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 423 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
|
&& p[i] <= '9'TRUE | evaluated 145 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 47 times by 1 test |
) | 47-423 |
481 | continue;executed 145 times by 4 tests: continue; Executed by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 145 |
482 | if (p[i] == '+'TRUE | evaluated 8 times by 1 test | FALSE | evaluated 462 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
|
|| p[i] == '-'TRUE | evaluated 361 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 101 times by 1 test |
|| p[i] == '.'TRUE | evaluated 10 times by 1 test | FALSE | evaluated 91 times by 1 test |
) | 8-462 |
483 | continue;executed 379 times by 3 tests: continue; Executed by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 379 |
484 | }executed 91 times by 1 test: end of block | 91 |
485 | | - |
486 | | - |
487 | | - |
488 | | - |
489 | if (doSetErrorTRUE | evaluated 74 times by 1 test | FALSE | evaluated 55 times by 2 testsEvaluated by:- tst_QNetworkRequest
- tst_QUrl
|
) | 55-74 |
490 | setError(InvalidSchemeError, value, i);executed 74 times by 1 test: setError(InvalidSchemeError, value, i); | 74 |
491 | returnexecuted 129 times by 2 tests: return false; Executed by:- tst_QNetworkRequest
- tst_QUrl
false;executed 129 times by 2 tests: return false; Executed by:- tst_QNetworkRequest
- tst_QUrl
| 129 |
492 | } | - |
493 | | - |
494 | scheme = value.left(len); | - |
495 | | - |
496 | if (needsLowercasing != -1TRUE | evaluated 33 times by 1 test | FALSE | evaluated 12079 times by 33 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- ...
|
) { | 33-12079 |
497 | | - |
498 | QChar *schemeData = scheme.data(); | - |
499 | for (int i = needsLowercasing; i >= 0TRUE | evaluated 192 times by 1 test | FALSE | evaluated 33 times by 1 test |
; --i) { | 33-192 |
500 | ushort c = schemeData[i].unicode(); | - |
501 | if (c >= 'A'TRUE | evaluated 180 times by 1 test | FALSE | evaluated 12 times by 1 test |
&& c <= 'Z'TRUE | evaluated 178 times by 1 test | FALSE | evaluated 2 times by 1 test |
) | 2-180 |
502 | schemeData[i] = c + 0x20;executed 178 times by 1 test: schemeData[i] = c + 0x20; | 178 |
503 | }executed 192 times by 1 test: end of block | 192 |
504 | }executed 33 times by 1 test: end of block | 33 |
505 | | - |
506 | | - |
507 | if (scheme == fileScheme()TRUE | evaluated 6542 times by 15 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- tst_qfileopenevent
| FALSE | evaluated 5570 times by 22 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_selftests - unknown status
|
| 5570-6542 |
508 | | - |
509 | | - |
510 | | - |
511 | ) { | - |
512 | flags |= IsLocalFile; | - |
513 | }executed 6542 times by 15 tests: end of block Executed by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- tst_qfileopenevent
else { | 6542 |
514 | flags &= ~IsLocalFile; | - |
515 | }executed 5570 times by 22 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_selftests - unknown status
| 5570 |
516 | returnexecuted 12112 times by 33 tests: return true; Executed by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- ...
true;executed 12112 times by 33 tests: return true; Executed by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- ...
| 12112 |
517 | } | - |
518 | | - |
519 | inline void QUrlPrivate::setAuthority(const QString &auth, int from, int end, QUrl::ParsingMode mode) | - |
520 | { | - |
521 | sectionIsPresent &= ~Authority; | - |
522 | sectionIsPresent |= Host; | - |
523 | | - |
524 | | - |
525 | while (from != endTRUE | evaluated 4922 times by 22 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_selftests - unknown status
| FALSE | evaluated 618 times by 9 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QTextDocument
- tst_QUrl
- tst_languageChange
- tst_qfileopenevent
|
) { | 618-4922 |
526 | int userInfoIndex = auth.indexOf(QLatin1Char('@'), from); | - |
527 | if (uint(userInfoIndex) < uint(end)TRUE | evaluated 166 times by 4 testsEvaluated by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
| FALSE | evaluated 4756 times by 21 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_selftests - unknown status
|
) { | 166-4756 |
528 | setUserInfo(auth, from, userInfoIndex); | - |
529 | if (mode == QUrl::StrictModeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 158 times by 4 testsEvaluated by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
|
&& !validateComponent(UserInfo, auth, from, userInfoIndex)TRUE | evaluated 7 times by 1 test | FALSE | evaluated 1 time by 1 test |
) | 1-158 |
530 | break;executed 7 times by 1 test: break; | 7 |
531 | from = userInfoIndex + 1; | - |
532 | }executed 159 times by 4 tests: end of block Executed by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
| 159 |
533 | | - |
534 | int colonIndex = auth.lastIndexOf(QLatin1Char(':'), end - 1); | - |
535 | if (colonIndex < fromTRUE | evaluated 4076 times by 20 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_Spdy
- tst_qdesktopservices
- tst_selftests - unknown status
| FALSE | evaluated 839 times by 6 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
|
) | 839-4076 |
536 | colonIndex = -1;executed 4076 times by 20 tests: colonIndex = -1; Executed by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_Spdy
- tst_qdesktopservices
- tst_selftests - unknown status
| 4076 |
537 | | - |
538 | if (uint(colonIndex) < uint(end)TRUE | evaluated 839 times by 6 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
| FALSE | evaluated 4076 times by 20 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_Spdy
- tst_qdesktopservices
- tst_selftests - unknown status
|
) { | 839-4076 |
539 | if (auth.at(from).unicode() == '['TRUE | evaluated 65 times by 4 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
| FALSE | evaluated 774 times by 6 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
|
) { | 65-774 |
540 | | - |
541 | int closingBracket = auth.indexOf(QLatin1Char(']'), from); | - |
542 | if (uint(closingBracket) > uint(colonIndex)TRUE | evaluated 59 times by 4 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
| FALSE | evaluated 6 times by 1 test |
) | 6-59 |
543 | colonIndex = -1;executed 59 times by 4 tests: colonIndex = -1; Executed by:- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
| 59 |
544 | }executed 65 times by 4 tests: end of block Executed by:- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
| 65 |
545 | }executed 839 times by 6 tests: end of block Executed by:- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
| 839 |
546 | | - |
547 | if (colonIndex == end - 1TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
| FALSE | evaluated 4903 times by 22 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_selftests - unknown status
|
) { | 12-4903 |
548 | | - |
549 | port = -1; | - |
550 | }executed 12 times by 2 tests: end of block Executed by:- tst_QNetworkReply
- tst_QUrl
else if (uint(colonIndex) < uint(end)TRUE | evaluated 768 times by 6 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
| FALSE | evaluated 4135 times by 20 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_Spdy
- tst_qdesktopservices
- tst_selftests - unknown status
|
) { | 12-4135 |
551 | unsigned long x = 0; | - |
552 | for (int i = colonIndex + 1; i < endTRUE | evaluated 3040 times by 6 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
| FALSE | evaluated 761 times by 6 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
|
; ++i) { | 761-3040 |
553 | ushort c = auth.at(i).unicode(); | - |
554 | if (c >= '0'TRUE | evaluated 3039 times by 6 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
| FALSE | evaluated 1 time by 1 test |
&& c <= '9'TRUE | evaluated 3033 times by 6 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
| FALSE | evaluated 6 times by 1 test |
) { | 1-3039 |
555 | x *= 10; | - |
556 | x += c - '0'; | - |
557 | }executed 3033 times by 6 tests: end of block Executed by:- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
else { | 3033 |
558 | x = ulong(-1); | - |
559 | break;executed 7 times by 1 test: break; | 7 |
560 | } | - |
561 | } | - |
562 | if (x == ushort(x)TRUE | evaluated 758 times by 6 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
| FALSE | evaluated 10 times by 1 test |
) { | 10-758 |
563 | port = ushort(x); | - |
564 | }executed 758 times by 6 tests: end of block Executed by:- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
else { | 758 |
565 | setError(InvalidPortError, auth, colonIndex + 1); | - |
566 | if (mode == QUrl::StrictModeTRUE | evaluated 4 times by 1 test | FALSE | evaluated 6 times by 1 test |
) | 4-6 |
567 | break;executed 4 times by 1 test: break; | 4 |
568 | }executed 6 times by 1 test: end of block | 6 |
569 | } else { | - |
570 | port = -1; | - |
571 | }executed 4135 times by 20 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_Spdy
- tst_qdesktopservices
- tst_selftests - unknown status
| 4135 |
572 | | - |
573 | setHost(auth, from, qMin<uint>(end, colonIndex), mode); | - |
574 | if (mode == QUrl::StrictModeTRUE | evaluated 86 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
| FALSE | evaluated 4825 times by 22 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_selftests - unknown status
|
&& !validateComponent(Host, auth, from, qMin<uint>(end, colonIndex))TRUE | evaluated 6 times by 1 test | FALSE | evaluated 80 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
|
) { | 6-4825 |
575 | | - |
576 | sectionIsPresent &= ~Authority; | - |
577 | break;executed 6 times by 1 test: break; | 6 |
578 | } | - |
579 | | - |
580 | | - |
581 | return;executed 4905 times by 22 tests: return; Executed by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_selftests - unknown status
| 4905 |
582 | } | - |
583 | | - |
584 | sectionIsPresent &= ~Authority | Host; | - |
585 | userName.clear(); | - |
586 | password.clear(); | - |
587 | host.clear(); | - |
588 | port = -1; | - |
589 | }executed 635 times by 9 tests: end of block Executed by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QTextDocument
- tst_QUrl
- tst_languageChange
- tst_qfileopenevent
| 635 |
590 | | - |
591 | inline void QUrlPrivate::setUserInfo(const QString &userInfo, int from, int end) | - |
592 | { | - |
593 | int delimIndex = userInfo.indexOf(QLatin1Char(':'), from); | - |
594 | setUserName(userInfo, from, qMin<uint>(delimIndex, end)); | - |
595 | | - |
596 | if (uint(delimIndex) >= uint(end)TRUE | evaluated 87 times by 4 testsEvaluated by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
| FALSE | evaluated 130 times by 4 testsEvaluated by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
|
) { | 87-130 |
597 | password.clear(); | - |
598 | sectionIsPresent &= ~Password; | - |
599 | }executed 87 times by 4 tests: end of block Executed by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
else { | 87 |
600 | setPassword(userInfo, delimIndex + 1, end); | - |
601 | }executed 130 times by 4 tests: end of block Executed by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
| 130 |
602 | } | - |
603 | | - |
604 | inline void QUrlPrivate::setUserName(const QString &value, int from, int end) | - |
605 | { | - |
606 | sectionIsPresent |= UserName; | - |
607 | userName = recodeFromUser(value, userNameInIsolation, from, end); | - |
608 | }executed 2114 times by 5 tests: end of block Executed by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 2114 |
609 | | - |
610 | inline void QUrlPrivate::setPassword(const QString &value, int from, int end) | - |
611 | { | - |
612 | sectionIsPresent |= Password; | - |
613 | password = recodeFromUser(value, passwordInIsolation, from, end); | - |
614 | }executed 583 times by 5 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
| 583 |
615 | | - |
616 | inline void QUrlPrivate::setPath(const QString &value, int from, int end) | - |
617 | { | - |
618 | | - |
619 | path = recodeFromUser(value, pathInIsolation, from, end); | - |
620 | }executed 15047 times by 35 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- ...
| 15047 |
621 | | - |
622 | inline void QUrlPrivate::setFragment(const QString &value, int from, int end) | - |
623 | { | - |
624 | sectionIsPresent |= Fragment; | - |
625 | fragment = recodeFromUser(value, fragmentInIsolation, from, end); | - |
626 | }executed 1832 times by 8 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTextBrowser
- tst_QUrl
- tst_Spdy
| 1832 |
627 | | - |
628 | inline void QUrlPrivate::setQuery(const QString &value, int from, int iend) | - |
629 | { | - |
630 | sectionIsPresent |= Query; | - |
631 | query = recodeFromUser(value, queryInIsolation, from, iend); | - |
632 | }executed 504 times by 5 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 504 |
633 | inline void QUrlPrivate::appendHost(QString &appendTo, QUrl::FormattingOptions options) const | - |
634 | { | - |
635 | | - |
636 | if ((TRUE | evaluated 9958 times by 34 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- ...
| FALSE | evaluated 5683 times by 20 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
|
options & QUrl::FullyDecoded) == QUrl::FullyDecodedTRUE | evaluated 9958 times by 34 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- ...
| FALSE | evaluated 5683 times by 20 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
|
) | 5683-9958 |
637 | options = 0;executed 9958 times by 34 tests: options = 0; Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- ...
| 9958 |
638 | else | - |
639 | options &= QUrl::EncodeUnicode;executed 5683 times by 20 tests: options &= QUrl::EncodeUnicode; Executed by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
| 5683 |
640 | if (host.isEmpty()TRUE | evaluated 1229 times by 21 testsEvaluated by:- tst_NetworkSelfTest
- tst_QDataUrl
- tst_QFileSelector
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextDocument
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Spdy
- tst_qfileopenevent
| FALSE | evaluated 14412 times by 41 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- ...
|
) | 1229-14412 |
641 | return;executed 1229 times by 21 tests: return; Executed by:- tst_NetworkSelfTest
- tst_QDataUrl
- tst_QFileSelector
- tst_QFtp
- tst_QHttpSocketEngine
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextDocument
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_QXmlSimpleReader
- tst_QXmlStream
- tst_Spdy
- tst_qfileopenevent
| 1229 |
642 | if (host.at(0).unicode() == '['TRUE | evaluated 187 times by 7 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 14225 times by 41 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- ...
|
) { | 187-14225 |
643 | | - |
644 | appendTo += host; | - |
645 | }executed 187 times by 7 tests: end of block Executed by:- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
else { | 187 |
646 | | - |
647 | | - |
648 | if (options & QUrl::EncodeUnicode && !(options & 0x4000000)TRUE | evaluated 3829 times by 17 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_selftests - unknown status
| FALSE | never evaluated |
) | 0-3829 |
649 | appendTo += qt_ACE_do(host, ToAceOnly, AllowLeadingDot);executed 3829 times by 17 tests: appendTo += qt_ACE_do(host, ToAceOnly, AllowLeadingDot); Executed by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_selftests - unknown status
| 3829 |
650 | else | - |
651 | appendTo += host;executed 10396 times by 37 tests: appendTo += host; Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- ...
| 10396 |
652 | } | - |
653 | } | - |
654 | | - |
655 | | - |
656 | | - |
657 | static const QChar *parseIpFuture(QString &host, const QChar *begin, const QChar *end, QUrl::ParsingMode mode) | - |
658 | { | - |
659 | | - |
660 | static const char acceptable[] = | - |
661 | "!$&'()*+,;=" | - |
662 | ":" | - |
663 | "-._~"; | - |
664 | | - |
665 | | - |
666 | const QChar *const origBegin = begin; | - |
667 | if (begin[3].unicode() != '.'TRUE | evaluated 3 times by 1 test | FALSE | evaluated 28 times by 1 test |
) | 3-28 |
668 | returnexecuted 3 times by 1 test: return &begin[3]; &begin[3];executed 3 times by 1 test: return &begin[3]; | 3 |
669 | if ((begin[2].unicode() >= 'A'TRUE | evaluated 5 times by 1 test | FALSE | evaluated 23 times by 1 test |
&& begin[2].unicode() <= 'F'TRUE | evaluated 3 times by 1 test | FALSE | evaluated 2 times by 1 test |
) || | 2-23 |
670 | (begin[2].unicode() >= 'a'TRUE | evaluated 2 times by 1 test | FALSE | evaluated 23 times by 1 test |
&& begin[2].unicode() <= 'f'TRUE | evaluated 1 time by 1 test | FALSE | evaluated 1 time by 1 test |
) || | 1-23 |
671 | (begin[2].unicode() >= '0'TRUE | evaluated 24 times by 1 test | FALSE | never evaluated |
&& begin[2].unicode() <= '9'TRUE | evaluated 23 times by 1 test | FALSE | evaluated 1 time by 1 test |
)) { | 0-24 |
672 | | - |
673 | | - |
674 | host += QString::fromRawData(begin, 4); | - |
675 | | - |
676 | | - |
677 | if (begin[2].unicode() >= 'a'TRUE | evaluated 1 time by 1 test | FALSE | evaluated 26 times by 1 test |
) | 1-26 |
678 | host[host.length() - 2] = begin[2].unicode() - 0x20;executed 1 time by 1 test: host[host.length() - 2] = begin[2].unicode() - 0x20; | 1 |
679 | | - |
680 | begin += 4; | - |
681 | --end; | - |
682 | | - |
683 | QString decoded; | - |
684 | if (mode == QUrl::TolerantModeTRUE | evaluated 25 times by 1 test | FALSE | evaluated 2 times by 1 test |
&& qt_urlRecode(decoded, begin, end, QUrl::FullyDecoded, 0)TRUE | evaluated 6 times by 1 test | FALSE | evaluated 19 times by 1 test |
) { | 2-25 |
685 | begin = decoded.constBegin(); | - |
686 | end = decoded.constEnd(); | - |
687 | }executed 6 times by 1 test: end of block | 6 |
688 | | - |
689 | for ( ; begin != endTRUE | evaluated 123 times by 1 test | FALSE | evaluated 18 times by 1 test |
; ++begin) { | 18-123 |
690 | if (begin->unicode() >= 'A'TRUE | evaluated 40 times by 1 test | FALSE | evaluated 83 times by 1 test |
&& begin->unicode() <= 'Z'TRUE | evaluated 12 times by 1 test | FALSE | evaluated 28 times by 1 test |
) | 12-83 |
691 | host += *begin;executed 12 times by 1 test: host += *begin; | 12 |
692 | else if (begin->unicode() >= 'a'TRUE | evaluated 23 times by 1 test | FALSE | evaluated 88 times by 1 test |
&& begin->unicode() <= 'z'TRUE | evaluated 16 times by 1 test | FALSE | evaluated 7 times by 1 test |
) | 7-88 |
693 | host += *begin;executed 16 times by 1 test: host += *begin; | 16 |
694 | else if (begin->unicode() >= '0'TRUE | evaluated 47 times by 1 test | FALSE | evaluated 48 times by 1 test |
&& begin->unicode() <= '9'TRUE | evaluated 22 times by 1 test | FALSE | evaluated 25 times by 1 test |
) | 22-48 |
695 | host += *begin;executed 22 times by 1 test: host += *begin; | 22 |
696 | else if (begin->unicode() < 0x80TRUE | evaluated 72 times by 1 test | FALSE | evaluated 1 time by 1 test |
&& strchr(acceptable, begin->unicode()) != 0TRUE | evaluated 64 times by 1 test | FALSE | evaluated 8 times by 1 test |
) | 1-72 |
697 | host += *begin;executed 64 times by 1 test: host += *begin; | 64 |
698 | else | - |
699 | returnexecuted 9 times by 1 test: return decoded.isEmpty() ? begin : &origBegin[2]; decoded.isEmpty() ? begin : &origBegin[2];executed 9 times by 1 test: return decoded.isEmpty() ? begin : &origBegin[2]; | 9 |
700 | } | - |
701 | host += QLatin1Char(']'); | - |
702 | returnexecuted 18 times by 1 test: return 0; 0;executed 18 times by 1 test: return 0; | 18 |
703 | } | - |
704 | returnexecuted 1 time by 1 test: return &origBegin[2]; &origBegin[2];executed 1 time by 1 test: return &origBegin[2]; | 1 |
705 | } | - |
706 | | - |
707 | | - |
708 | static const QChar *parseIp6(QString &host, const QChar *begin, const QChar *end, QUrl::ParsingMode mode) | - |
709 | { | - |
710 | QIPAddressUtils::IPv6Address address; | - |
711 | const QChar *ret = QIPAddressUtils::parseIp6(address, begin, end); | - |
712 | if (retTRUE | evaluated 44 times by 5 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| FALSE | evaluated 112 times by 7 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) { | 44-112 |
713 | | - |
714 | const ushort decodeColon[] = { ushort(':'), 0 }; | - |
715 | | - |
716 | | - |
717 | | - |
718 | QString decoded; | - |
719 | if (mode == QUrl::TolerantModeTRUE | evaluated 36 times by 5 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| FALSE | evaluated 8 times by 1 test |
&& qt_urlRecode(decoded, begin, end, 0, decodeColon)TRUE | evaluated 4 times by 2 tests | FALSE | evaluated 32 times by 5 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
|
) { | 4-36 |
720 | | - |
721 | | - |
722 | ret = parseIp6(host, decoded.constBegin(), decoded.constEnd(), mode); | - |
723 | | - |
724 | | - |
725 | returnexecuted 4 times by 2 tests: return ret ? end : 0; ret ? end : 0;executed 4 times by 2 tests: return ret ? end : 0; | 4 |
726 | } | - |
727 | | - |
728 | | - |
729 | returnexecuted 40 times by 5 tests: return ret; Executed by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
ret;executed 40 times by 5 tests: return ret; Executed by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| 40 |
730 | } | - |
731 | | - |
732 | host.reserve(host.size() + (end - begin)); | - |
733 | host += QLatin1Char('['); | - |
734 | QIPAddressUtils::toString(host, address); | - |
735 | host += QLatin1Char(']'); | - |
736 | returnexecuted 112 times by 7 tests: return 0; Executed by:- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
0;executed 112 times by 7 tests: return 0; Executed by:- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 112 |
737 | } | - |
738 | | - |
739 | inline bool QUrlPrivate::setHost(const QString &value, int from, int iend, QUrl::ParsingMode mode) | - |
740 | { | - |
741 | const QChar *begin = value.constData() + from; | - |
742 | const QChar *end = value.constData() + iend; | - |
743 | | - |
744 | const int len = end - begin; | - |
745 | host.clear(); | - |
746 | sectionIsPresent |= Host; | - |
747 | if (len == 0TRUE | evaluated 184 times by 7 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocketNotifier
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 11801 times by 43 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- ...
|
) | 184-11801 |
748 | returnexecuted 184 times by 7 tests: return true; Executed by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocketNotifier
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
true;executed 184 times by 7 tests: return true; Executed by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocketNotifier
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 184 |
749 | | - |
750 | if (begin[0].unicode() == '['TRUE | evaluated 184 times by 9 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| FALSE | evaluated 11617 times by 43 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QEventLoop
- tst_QFileSelector
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- ...
|
) { | 184-11617 |
751 | | - |
752 | | - |
753 | | - |
754 | if (end[-1].unicode() != ']'TRUE | evaluated 1 time by 1 test | FALSE | evaluated 183 times by 9 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
|
) { | 1-183 |
755 | setError(HostMissingEndBracket, value); | - |
756 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
757 | } | - |
758 | | - |
759 | if (len > 5TRUE | evaluated 126 times by 6 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| FALSE | evaluated 57 times by 6 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
&& begin[1].unicode() == 'v'TRUE | evaluated 31 times by 1 test | FALSE | evaluated 95 times by 6 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
|
) { | 31-126 |
760 | const QChar *c = parseIpFuture(host, begin, end, mode); | - |
761 | if (cTRUE | evaluated 13 times by 1 test | FALSE | evaluated 18 times by 1 test |
) | 13-18 |
762 | setError(InvalidIPvFutureError, value, c - value.constData());executed 13 times by 1 test: setError(InvalidIPvFutureError, value, c - value.constData()); | 13 |
763 | returnexecuted 31 times by 1 test: return !c; !c;executed 31 times by 1 test: return !c; | 31 |
764 | } else if (begin[1].unicode() == 'v'TRUE | evaluated 6 times by 1 test | FALSE | evaluated 146 times by 9 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
|
) { | 6-146 |
765 | setError(InvalidIPvFutureError, value, from); | - |
766 | }executed 6 times by 1 test: end of block | 6 |
767 | | - |
768 | const QChar *c = parseIp6(host, begin + 1, end - 1, mode); | - |
769 | if (!cTRUE | evaluated 112 times by 7 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 40 times by 5 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
|
) | 40-112 |
770 | returnexecuted 112 times by 7 tests: return true; Executed by:- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
true;executed 112 times by 7 tests: return true; Executed by:- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 112 |
771 | | - |
772 | if (c == end - 1TRUE | evaluated 28 times by 3 testsEvaluated by:- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| FALSE | evaluated 12 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
- tst_QUrlInternal
|
) | 12-28 |
773 | setError(InvalidIPv6AddressError, value, from);executed 28 times by 3 tests: setError(InvalidIPv6AddressError, value, from); Executed by:- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| 28 |
774 | else | - |
775 | setError(InvalidCharacterInIPv6Error, value, c - value.constData());executed 12 times by 4 tests: setError(InvalidCharacterInIPv6Error, value, c - value.constData()); Executed by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
- tst_QUrlInternal
| 12 |
776 | returnexecuted 40 times by 5 tests: return false; Executed by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
false;executed 40 times by 5 tests: return false; Executed by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| 40 |
777 | } | - |
778 | | - |
779 | | - |
780 | QIPAddressUtils::IPv4Address ip4; | - |
781 | if (QIPAddressUtils::parseIp4(ip4, begin, end)TRUE | evaluated 1234 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QImageReader
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSslSocket
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_Spdy
| FALSE | evaluated 10383 times by 37 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- ...
|
) { | 1234-10383 |
782 | | - |
783 | QIPAddressUtils::toString(host, ip4); | - |
784 | returnexecuted 1234 times by 20 tests: return true; Executed by:- tst_NetworkSelfTest
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QImageReader
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSslSocket
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_Spdy
true;executed 1234 times by 20 tests: return true; Executed by:- tst_NetworkSelfTest
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHttpNetworkConnection
- tst_QImageReader
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSslSocket
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlSimpleReader
- tst_Spdy
| 1234 |
785 | } | - |
786 | QString s; | - |
787 | if (mode == QUrl::TolerantModeTRUE | evaluated 10255 times by 37 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- ...
| FALSE | evaluated 128 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
|
&& qt_urlRecode(s, begin, end, 0, 0)TRUE | evaluated 54 times by 2 tests | FALSE | evaluated 10201 times by 37 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- ...
|
) { | 54-10255 |
788 | | - |
789 | | - |
790 | int pos = s.indexOf(QChar(0x25)); | - |
791 | if (pos != -1TRUE | evaluated 4 times by 1 test | FALSE | evaluated 50 times by 1 test |
) { | 4-50 |
792 | setError(InvalidRegNameError, s, pos); | - |
793 | returnexecuted 4 times by 1 test: return false; false;executed 4 times by 1 test: return false; | 4 |
794 | } | - |
795 | | - |
796 | | - |
797 | returnexecuted 50 times by 1 test: return setHost(s, 0, s.length(), QUrl::StrictMode); setHost(s, 0, s.length(), QUrl::StrictMode);executed 50 times by 1 test: return setHost(s, 0, s.length(), QUrl::StrictMode); | 50 |
798 | } | - |
799 | | - |
800 | s = qt_ACE_do(QString::fromRawData(begin, len), NormalizeAce, ForbidLeadingDot); | - |
801 | if (s.isEmpty()TRUE | evaluated 114 times by 7 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| FALSE | evaluated 10215 times by 37 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- ...
|
) { | 114-10215 |
802 | setError(InvalidRegNameError, value); | - |
803 | returnexecuted 114 times by 7 tests: return false; Executed by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
false;executed 114 times by 7 tests: return false; Executed by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| 114 |
804 | } | - |
805 | | - |
806 | | - |
807 | if (QIPAddressUtils::parseIp4(ip4, s.constBegin(), s.constEnd())TRUE | never evaluated | FALSE | evaluated 10215 times by 37 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- ...
|
) { | 0-10215 |
808 | QIPAddressUtils::toString(host, ip4); | - |
809 | } never executed: end of block else { | 0 |
810 | host = s; | - |
811 | }executed 10215 times by 37 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- ...
| 10215 |
812 | returnexecuted 10215 times by 37 tests: return true; Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- ...
true;executed 10215 times by 37 tests: return true; Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- ...
| 10215 |
813 | } | - |
814 | | - |
815 | inline void QUrlPrivate::parse(const QString &url, QUrl::ParsingMode parsingMode) | - |
816 | { | - |
817 | sectionIsPresent = 0; | - |
818 | flags = 0; | - |
819 | clearError(); | - |
820 | | - |
821 | | - |
822 | int colon = -1; | - |
823 | int question = -1; | - |
824 | int hash = -1; | - |
825 | const int len = url.length(); | - |
826 | const QChar *const begin = url.constData(); | - |
827 | const ushort *const data = reinterpret_cast<const ushort *>(begin); | - |
828 | | - |
829 | for (int i = 0; i < lenTRUE | evaluated 250109 times by 34 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- ...
| FALSE | evaluated 9845 times by 34 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- ...
|
; ++i) { | 9845-250109 |
830 | uint uc = data[i]; | - |
831 | if (uc == '#'TRUE | evaluated 136 times by 4 testsEvaluated by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QTextBrowser
- tst_QUrl
| FALSE | evaluated 249973 times by 34 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- ...
|
&& hash == -1TRUE | evaluated 136 times by 4 testsEvaluated by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QTextBrowser
- tst_QUrl
| FALSE | never evaluated |
) { | 0-249973 |
832 | hash = i; | - |
833 | | - |
834 | | - |
835 | break;executed 136 times by 4 tests: break; Executed by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QTextBrowser
- tst_QUrl
| 136 |
836 | } | - |
837 | | - |
838 | if (question == -1TRUE | evaluated 246645 times by 34 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- ...
| FALSE | evaluated 3328 times by 5 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
|
) { | 3328-246645 |
839 | if (uc == ':'TRUE | evaluated 7343 times by 30 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QXmlInputSource
- ...
| FALSE | evaluated 239302 times by 34 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- ...
|
&& colon == -1TRUE | evaluated 6197 times by 30 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QXmlInputSource
- ...
| FALSE | evaluated 1146 times by 7 testsEvaluated by:- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
|
) | 1146-239302 |
840 | colon = i;executed 6197 times by 30 tests: colon = i; Executed by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QXmlInputSource
- ...
| 6197 |
841 | else if (uc == '?'TRUE | evaluated 345 times by 5 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 240103 times by 34 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- ...
|
) | 345-240103 |
842 | question = i;executed 345 times by 5 tests: question = i; Executed by:- tst_QAbstractNetworkCache
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 345 |
843 | }executed 246645 times by 34 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- ...
| 246645 |
844 | }executed 249973 times by 34 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- ...
| 249973 |
845 | | - |
846 | | - |
847 | int hierStart; | - |
848 | if (colon != -1TRUE | evaluated 6197 times by 30 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QXmlInputSource
- ...
| FALSE | evaluated 3784 times by 16 testsEvaluated by:- tst_NetworkSelfTest
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
- tst_QXmlStream
|
&& setScheme(url, colon, false)TRUE | evaluated 6136 times by 28 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- ...
| FALSE | evaluated 61 times by 5 testsEvaluated by:- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextDocument
- tst_QTextEdit
- tst_QUrl
|
) { | 61-6197 |
849 | hierStart = colon + 1; | - |
850 | }executed 6136 times by 28 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- ...
else { | 6136 |
851 | | - |
852 | scheme.clear(); | - |
853 | sectionIsPresent = 0; | - |
854 | hierStart = 0; | - |
855 | }executed 3845 times by 16 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
- tst_QXmlStream
| 3845 |
856 | | - |
857 | int pathStart; | - |
858 | int hierEnd = qMin<uint>(qMin<uint>(question, hash), len); | - |
859 | if (hierEnd - hierStart >= 2TRUE | evaluated 9308 times by 34 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- ...
| FALSE | evaluated 673 times by 13 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
- tst_languageChange
|
&& data[hierStart] == '/'TRUE | evaluated 5623 times by 29 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- ...
| FALSE | evaluated 3685 times by 13 testsEvaluated by:- tst_QDataUrl
- tst_QHttpNetworkConnection
- tst_QMimeDatabase
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QXmlStream
|
&& data[hierStart + 1] == '/'TRUE | evaluated 5509 times by 28 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- ...
| FALSE | evaluated 114 times by 5 testsEvaluated by:- tst_NetworkSelfTest
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QTextBrowser
- tst_QUrl
|
) { | 114-9308 |
860 | | - |
861 | int authorityEnd = hierEnd; | - |
862 | for (int i = hierStart + 2; i < authorityEndTRUE | evaluated 86564 times by 28 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- ...
| FALSE | evaluated 2868 times by 13 testsEvaluated by:- tst_QDataUrl
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_selftests - unknown status
|
; ++i) { | 2868-86564 |
863 | if (data[i] == '/'TRUE | evaluated 2641 times by 22 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
- tst_languageChange
- tst_qdesktopservices
- tst_qfileopenevent
| FALSE | evaluated 83923 times by 22 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_selftests - unknown status
|
) { | 2641-83923 |
864 | authorityEnd = i; | - |
865 | break;executed 2641 times by 22 tests: break; Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
- tst_languageChange
- tst_qdesktopservices
- tst_qfileopenevent
| 2641 |
866 | } | - |
867 | }executed 83923 times by 22 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_selftests - unknown status
| 83923 |
868 | | - |
869 | setAuthority(url, hierStart + 2, authorityEnd, parsingMode); | - |
870 | | - |
871 | | - |
872 | pathStart = authorityEnd; | - |
873 | setPath(url, pathStart, hierEnd); | - |
874 | }executed 5509 times by 28 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- ...
else { | 5509 |
875 | userName.clear(); | - |
876 | password.clear(); | - |
877 | host.clear(); | - |
878 | port = -1; | - |
879 | pathStart = hierStart; | - |
880 | | - |
881 | if (hierStart < hierEndTRUE | evaluated 3830 times by 16 testsEvaluated by:- tst_NetworkSelfTest
- tst_QDataUrl
- tst_QHttpNetworkConnection
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
- tst_QXmlStream
| FALSE | evaluated 642 times by 13 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
- tst_languageChange
|
) | 642-3830 |
882 | setPath(url, hierStart, hierEnd);executed 3830 times by 16 tests: setPath(url, hierStart, hierEnd); Executed by:- tst_NetworkSelfTest
- tst_QDataUrl
- tst_QHttpNetworkConnection
- tst_QMimeDatabase
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
- tst_QXmlStream
| 3830 |
883 | else | - |
884 | path.clear();executed 642 times by 13 tests: path.clear(); Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
- tst_languageChange
| 642 |
885 | } | - |
886 | | - |
887 | if (uint(question) < uint(hash)TRUE | evaluated 345 times by 5 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 9636 times by 34 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- ...
|
) | 345-9636 |
888 | setQuery(url, question + 1, qMin<uint>(hash, len));executed 345 times by 5 tests: setQuery(url, question + 1, qMin<uint>(hash, len)); Executed by:- tst_QAbstractNetworkCache
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 345 |
889 | | - |
890 | if (hash != -1TRUE | evaluated 136 times by 4 testsEvaluated by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QTextBrowser
- tst_QUrl
| FALSE | evaluated 9845 times by 34 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- ...
|
) | 136-9845 |
891 | setFragment(url, hash + 1, len);executed 136 times by 4 tests: setFragment(url, hash + 1, len); Executed by:- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QTextBrowser
- tst_QUrl
| 136 |
892 | | - |
893 | if (errorTRUE | evaluated 71 times by 2 tests | FALSE | evaluated 9910 times by 33 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- ...
|
|| parsingMode == QUrl::TolerantModeTRUE | evaluated 9841 times by 33 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- ...
| FALSE | evaluated 69 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
|
) | 69-9910 |
894 | return;executed 9912 times by 34 tests: return; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- ...
| 9912 |
895 | | - |
896 | | - |
897 | | - |
898 | | - |
899 | | - |
900 | | - |
901 | | - |
902 | if (!validateComponent(Path, url, pathStart, hierEnd)TRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QNetworkRequest
- tst_QUrl
| FALSE | evaluated 64 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
|
) | 5-64 |
903 | return;executed 5 times by 2 tests: return; Executed by:- tst_QNetworkRequest
- tst_QUrl
| 5 |
904 | if (uint(question) < uint(hash)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 63 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
|
&& !validateComponent(Query, url, question + 1, qMin<uint>(hash, len))TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) | 0-63 |
905 | return;executed 1 time by 1 test: return; | 1 |
906 | if (hash != -1TRUE | evaluated 1 time by 1 test | FALSE | evaluated 62 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
|
) | 1-62 |
907 | validateComponent(Fragment, url, hash + 1, len);executed 1 time by 1 test: validateComponent(Fragment, url, hash + 1, len); | 1 |
908 | }executed 63 times by 4 tests: end of block Executed by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
| 63 |
909 | | - |
910 | QString QUrlPrivate::toLocalFile(QUrl::FormattingOptions options) const | - |
911 | { | - |
912 | QString tmp; | - |
913 | QString ourPath; | - |
914 | appendPath(ourPath, options, QUrlPrivate::Path); | - |
915 | | - |
916 | | - |
917 | if (!host.isEmpty()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 10627 times by 15 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- tst_qfileopenevent
|
) { | 4-10627 |
918 | tmp = QLatin1String("//") + host; | - |
919 | | - |
920 | | - |
921 | | - |
922 | | - |
923 | if (!ourPath.isEmpty()TRUE | evaluated 3 times by 1 test | FALSE | evaluated 1 time by 1 test |
&& !ourPath.startsWith(QLatin1Char('/'))TRUE | evaluated 1 time by 1 test | FALSE | evaluated 2 times by 1 test |
) | 1-3 |
924 | tmp += QLatin1Char('/');executed 1 time by 1 test: tmp += QLatin1Char('/'); | 1 |
925 | tmp += ourPath; | - |
926 | }executed 4 times by 1 test: end of block else { | 4 |
927 | tmp = ourPath; | - |
928 | | - |
929 | | - |
930 | | - |
931 | | - |
932 | | - |
933 | }executed 10627 times by 15 tests: end of block Executed by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- tst_qfileopenevent
| 10627 |
934 | returnexecuted 10631 times by 15 tests: return tmp; Executed by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- tst_qfileopenevent
tmp;executed 10631 times by 15 tests: return tmp; Executed by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- tst_qfileopenevent
| 10631 |
935 | } | - |
936 | inline QString QUrlPrivate::mergePaths(const QString &relativePath) const | - |
937 | { | - |
938 | | - |
939 | | - |
940 | | - |
941 | if (!host.isEmpty()TRUE | evaluated 1043 times by 2 tests | FALSE | evaluated 2346 times by 4 testsEvaluated by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
&& path.isEmpty()TRUE | evaluated 1000 times by 1 test | FALSE | evaluated 43 times by 2 tests |
) | 43-2346 |
942 | returnexecuted 1000 times by 1 test: return QLatin1Char('/') + relativePath; QLatin1Char('/') + relativePath;executed 1000 times by 1 test: return QLatin1Char('/') + relativePath; | 1000 |
943 | | - |
944 | | - |
945 | | - |
946 | | - |
947 | | - |
948 | | - |
949 | QString newPath; | - |
950 | if (!path.contains(QLatin1Char('/'))TRUE | evaluated 19 times by 2 tests | FALSE | evaluated 2370 times by 4 testsEvaluated by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
) | 19-2370 |
951 | newPath = relativePath;executed 19 times by 2 tests: newPath = relativePath; | 19 |
952 | else | - |
953 | newPath = path.leftRef(path.lastIndexOf(QLatin1Char('/')) + 1) + relativePath;executed 2370 times by 4 tests: newPath = path.leftRef(path.lastIndexOf(QLatin1Char('/')) + 1) + relativePath; Executed by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| 2370 |
954 | | - |
955 | returnexecuted 2389 times by 4 tests: return newPath; Executed by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
newPath;executed 2389 times by 4 tests: return newPath; Executed by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| 2389 |
956 | } | - |
957 | | - |
958 | | - |
959 | | - |
960 | | - |
961 | | - |
962 | | - |
963 | | - |
964 | static void removeDotsFromPath(QString *path) | - |
965 | { | - |
966 | | - |
967 | | - |
968 | | - |
969 | QChar *out = path->data(); | - |
970 | const QChar *in = out; | - |
971 | const QChar *end = out + path->size(); | - |
972 | | - |
973 | | - |
974 | | - |
975 | | - |
976 | if (path->size() == 1TRUE | evaluated 4 times by 1 test | FALSE | evaluated 4482 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
&& in[0].unicode() == '.'TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
) | 0-4482 |
977 | ++ never executed: ++in; in;never executed: ++in; | 0 |
978 | else if (path->size() == 2TRUE | evaluated 3 times by 1 test | FALSE | evaluated 4483 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
&& in[0].unicode() == '.'TRUE | never evaluated | FALSE | evaluated 3 times by 1 test |
&& in[1].unicode() == '.'TRUE | never evaluated | FALSE | never evaluated |
) | 0-4483 |
979 | in += 2; never executed: in += 2; | 0 |
980 | | - |
981 | while (in < endTRUE | evaluated 37799 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| FALSE | evaluated 4482 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
) { | 4482-37799 |
982 | | - |
983 | | - |
984 | | - |
985 | if (path->size() >= 2TRUE | evaluated 37795 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| FALSE | evaluated 4 times by 1 test |
&& in[0].unicode() == '.'TRUE | evaluated 1 time by 1 test | FALSE | evaluated 37794 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
&& in[1].unicode() == '/'TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-37795 |
986 | in += 2; never executed: in += 2; | 0 |
987 | else if (path->size() >= 3TRUE | evaluated 37792 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| FALSE | evaluated 7 times by 1 test |
&& in[0].unicode() == '.'TRUE | evaluated 1 time by 1 test | FALSE | evaluated 37791 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
| 1-37792 |
988 | && in[1].unicode() == '.'TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
&& in[2].unicode() == '/'TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) | 0-1 |
989 | in += 3;executed 1 time by 1 test: in += 3; | 1 |
990 | | - |
991 | | - |
992 | | - |
993 | | - |
994 | if (in <= end - 3TRUE | evaluated 37746 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| FALSE | evaluated 53 times by 3 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QUrl
- tst_QXmlStream
|
&& in[0].unicode() == '/'TRUE | evaluated 37715 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| FALSE | evaluated 31 times by 2 tests |
&& in[1].unicode() == '.'TRUE | evaluated 46 times by 3 testsEvaluated by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
| FALSE | evaluated 37669 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
| 31-37746 |
995 | && in[2].unicode() == '/'TRUE | evaluated 7 times by 1 test | FALSE | evaluated 39 times by 3 testsEvaluated by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
|
) { | 7-39 |
996 | in += 2; | - |
997 | continue;executed 7 times by 1 test: continue; | 7 |
998 | } else if (in == end - 2TRUE | evaluated 29 times by 1 test | FALSE | evaluated 37763 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
&& in[0].unicode() == '/'TRUE | evaluated 29 times by 1 test | FALSE | never evaluated |
&& in[1].unicode() == '.'TRUE | evaluated 2 times by 1 test | FALSE | evaluated 27 times by 1 test |
) { | 0-37763 |
999 | *out++ = QLatin1Char('/'); | - |
1000 | in += 2; | - |
1001 | break;executed 2 times by 1 test: break; | 2 |
1002 | } | - |
1003 | | - |
1004 | | - |
1005 | | - |
1006 | | - |
1007 | | - |
1008 | | - |
1009 | if (in <= end - 4TRUE | evaluated 37733 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| FALSE | evaluated 57 times by 3 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QUrl
- tst_QXmlStream
|
&& in[0].unicode() == '/'TRUE | evaluated 37702 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| FALSE | evaluated 31 times by 2 tests |
&& in[1].unicode() == '.'TRUE | evaluated 36 times by 3 testsEvaluated by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
| FALSE | evaluated 37666 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
| 31-37733 |
1010 | && in[2].unicode() == '.'TRUE | evaluated 36 times by 3 testsEvaluated by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
| FALSE | never evaluated |
&& in[3].unicode() == '/'TRUE | evaluated 35 times by 3 testsEvaluated by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
| FALSE | evaluated 1 time by 1 test |
) { | 0-36 |
1011 | while (out > path->constData()TRUE | evaluated 111 times by 3 testsEvaluated by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
| FALSE | evaluated 8 times by 2 tests |
&& (--TRUE | evaluated 84 times by 3 testsEvaluated by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
| FALSE | evaluated 27 times by 3 testsEvaluated by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
|
out)->unicode() != '/'TRUE | evaluated 84 times by 3 testsEvaluated by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
| FALSE | evaluated 27 times by 3 testsEvaluated by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
|
) | 8-111 |
1012 | ;executed 84 times by 3 tests: ; Executed by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
| 84 |
1013 | if (out == path->constData()TRUE | evaluated 14 times by 2 tests | FALSE | evaluated 21 times by 3 testsEvaluated by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
|
&& out->unicode() != '/'TRUE | evaluated 3 times by 2 tests | FALSE | evaluated 11 times by 1 test |
) | 3-21 |
1014 | ++executed 3 times by 2 tests: ++in; in;executed 3 times by 2 tests: ++in; | 3 |
1015 | in += 3; | - |
1016 | continue;executed 35 times by 3 tests: continue; Executed by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
| 35 |
1017 | } else if (in == end - 3TRUE | evaluated 6 times by 1 test | FALSE | evaluated 37749 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
&& in[0].unicode() == '/'TRUE | evaluated 6 times by 1 test | FALSE | never evaluated |
&& in[1].unicode() == '.'TRUE | evaluated 3 times by 1 test | FALSE | evaluated 3 times by 1 test |
| 0-37749 |
1018 | && in[2].unicode() == '.'TRUE | evaluated 2 times by 1 test | FALSE | evaluated 1 time by 1 test |
) { | 1-2 |
1019 | while (out > path->constData()TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
&& (--TRUE | evaluated 2 times by 1 test | FALSE | evaluated 2 times by 1 test |
out)->unicode() != '/'TRUE | evaluated 2 times by 1 test | FALSE | evaluated 2 times by 1 test |
) | 0-4 |
1020 | ;executed 2 times by 1 test: ; | 2 |
1021 | if (out->unicode() == '/'TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-2 |
1022 | ++executed 2 times by 1 test: ++out; out;executed 2 times by 1 test: ++out; | 2 |
1023 | in += 3; | - |
1024 | break;executed 2 times by 1 test: break; | 2 |
1025 | } | - |
1026 | | - |
1027 | | - |
1028 | | - |
1029 | | - |
1030 | | - |
1031 | | - |
1032 | | - |
1033 | *out++ = *in++; | - |
1034 | while (in < endTRUE | evaluated 267871 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| FALSE | evaluated 3480 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
&& in->unicode() != '/'TRUE | evaluated 233598 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| FALSE | evaluated 34273 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
) | 3480-267871 |
1035 | *executed 233598 times by 5 tests: *out++ = *in++; Executed by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
out++ = *in++;executed 233598 times by 5 tests: *out++ = *in++; Executed by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| 233598 |
1036 | }executed 37753 times by 5 tests: end of block Executed by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| 37753 |
1037 | path->truncate(out - path->constData()); | - |
1038 | }executed 4486 times by 5 tests: end of block Executed by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| 4486 |
1039 | | - |
1040 | inline QUrlPrivate::ErrorCode QUrlPrivate::validityError(QString *source, int *position) const | - |
1041 | { | - |
1042 | ((!(!source == !position)) ? qt_assert("!source == !position",__FILE__,1613) : qt_noop()); | - |
1043 | if (errorTRUE | evaluated 464 times by 3 testsEvaluated by:- tst_QNetworkRequest
- tst_QUrl
- tst_QUrlInternal
| FALSE | evaluated 15857 times by 30 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- ...
|
) { | 464-15857 |
1044 | if (sourceTRUE | evaluated 195 times by 1 test | FALSE | evaluated 269 times by 3 testsEvaluated by:- tst_QNetworkRequest
- tst_QUrl
- tst_QUrlInternal
|
) { | 195-269 |
1045 | *source = error->source; | - |
1046 | *position = error->position; | - |
1047 | }executed 195 times by 1 test: end of block | 195 |
1048 | returnexecuted 464 times by 3 tests: return error->code; Executed by:- tst_QNetworkRequest
- tst_QUrl
- tst_QUrlInternal
error->code;executed 464 times by 3 tests: return error->code; Executed by:- tst_QNetworkRequest
- tst_QUrl
- tst_QUrlInternal
| 464 |
1049 | } | - |
1050 | if (path.isEmpty()TRUE | evaluated 4511 times by 18 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- tst_selftests - unknown status
| FALSE | evaluated 11346 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- ...
|
|| path.at(0) == QLatin1Char('/')TRUE | evaluated 10621 times by 22 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- tst_qdesktopservices
- tst_qfileopenevent
| FALSE | evaluated 725 times by 13 testsEvaluated by:- tst_QDataUrl
- tst_QFileDialog2
- tst_QFiledialog
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
|
) | 725-11346 |
1051 | returnexecuted 15132 times by 26 tests: return NoError; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- tst_qdesktopservices
- tst_qfileopenevent
- ...
NoError;executed 15132 times by 26 tests: return NoError; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- tst_qdesktopservices
- tst_qfileopenevent
- ...
| 15132 |
1052 | if (sectionIsPresent & QUrlPrivate::HostTRUE | evaluated 6 times by 1 test | FALSE | evaluated 719 times by 13 testsEvaluated by:- tst_QDataUrl
- tst_QFileDialog2
- tst_QFiledialog
- tst_QHttpNetworkConnection
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
|
) { | 6-719 |
1053 | if (sourceTRUE | evaluated 1 time by 1 test | FALSE | evaluated 5 times by 1 test |
) { | 1-5 |
1054 | *source = path; | - |
1055 | *position = 0; | - |
1056 | }executed 1 time by 1 test: end of block | 1 |
1057 | returnexecuted 6 times by 1 test: return AuthorityPresentAndPathIsRelative; AuthorityPresentAndPathIsRelative;executed 6 times by 1 test: return AuthorityPresentAndPathIsRelative; | 6 |
1058 | } | - |
1059 | if (sectionIsPresent & QUrlPrivate::SchemeTRUE | evaluated 360 times by 6 testsEvaluated by:- tst_QDataUrl
- tst_QFileDialog2
- tst_QFiledialog
- tst_QNetworkReply
- tst_QTextBrowser
- tst_QUrl
| FALSE | evaluated 359 times by 9 testsEvaluated by:- tst_QHttpNetworkConnection
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
|
) | 359-360 |
1060 | returnexecuted 360 times by 6 tests: return NoError; Executed by:- tst_QDataUrl
- tst_QFileDialog2
- tst_QFiledialog
- tst_QNetworkReply
- tst_QTextBrowser
- tst_QUrl
NoError;executed 360 times by 6 tests: return NoError; Executed by:- tst_QDataUrl
- tst_QFileDialog2
- tst_QFiledialog
- tst_QNetworkReply
- tst_QTextBrowser
- tst_QUrl
| 360 |
1061 | | - |
1062 | | - |
1063 | for (int i = 0; i < path.length()TRUE | evaluated 4073 times by 9 testsEvaluated by:- tst_QHttpNetworkConnection
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
| FALSE | evaluated 214 times by 7 testsEvaluated by:- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
|
; ++i) { | 214-4073 |
1064 | ushort c = path.at(i).unicode(); | - |
1065 | if (c == '/'TRUE | evaluated 68 times by 4 testsEvaluated by:- tst_QHttpNetworkConnection
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
| FALSE | evaluated 4005 times by 9 testsEvaluated by:- tst_QHttpNetworkConnection
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
|
) { | 68-4005 |
1066 | | - |
1067 | returnexecuted 68 times by 4 tests: return NoError; Executed by:- tst_QHttpNetworkConnection
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
NoError;executed 68 times by 4 tests: return NoError; Executed by:- tst_QHttpNetworkConnection
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
| 68 |
1068 | } | - |
1069 | if (c == ':'TRUE | evaluated 77 times by 2 testsEvaluated by:- tst_QNetworkRequest
- tst_QUrl
| FALSE | evaluated 3928 times by 9 testsEvaluated by:- tst_QHttpNetworkConnection
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
|
) { | 77-3928 |
1070 | | - |
1071 | if (sourceTRUE | evaluated 6 times by 1 test | FALSE | evaluated 71 times by 2 testsEvaluated by:- tst_QNetworkRequest
- tst_QUrl
|
) { | 6-71 |
1072 | *source = path; | - |
1073 | *position = i; | - |
1074 | }executed 6 times by 1 test: end of block | 6 |
1075 | returnexecuted 77 times by 2 tests: return RelativeUrlPathContainsColonBeforeSlash; Executed by:- tst_QNetworkRequest
- tst_QUrl
RelativeUrlPathContainsColonBeforeSlash;executed 77 times by 2 tests: return RelativeUrlPathContainsColonBeforeSlash; Executed by:- tst_QNetworkRequest
- tst_QUrl
| 77 |
1076 | } | - |
1077 | }executed 3928 times by 9 tests: end of block Executed by:- tst_QHttpNetworkConnection
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
| 3928 |
1078 | returnexecuted 214 times by 7 tests: return NoError; Executed by:- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
NoError;executed 214 times by 7 tests: return NoError; Executed by:- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QVariant
| 214 |
1079 | } | - |
1080 | | - |
1081 | bool QUrlPrivate::validateComponent(QUrlPrivate::Section section, const QString &input, | - |
1082 | int begin, int end) | - |
1083 | { | - |
1084 | static const char forbidden[] = "\"<>\\^`{|}\x7F"; | - |
1085 | static const char forbiddenUserInfo[] = ":/?#[]@"; | - |
1086 | | - |
1087 | ((!(section != Authority && section != Hierarchy && section != FullUrl)) ? qt_assert("section != Authority && section != Hierarchy && section != FullUrl",__FILE__,1683) : qt_noop()); | - |
1088 | | - |
1089 | const ushort *const data = reinterpret_cast<const ushort *>(input.constData()); | - |
1090 | for (uint i = uint(begin); i < uint(end)TRUE | evaluated 3620 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
| FALSE | evaluated 147 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
|
; ++i) { | 147-3620 |
1091 | uint uc = data[i]; | - |
1092 | if (uc >= 0x80TRUE | evaluated 11 times by 1 test | FALSE | evaluated 3609 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
|
) | 11-3609 |
1093 | continue;executed 11 times by 1 test: continue; | 11 |
1094 | | - |
1095 | bool error = false; | - |
1096 | if ((uc == '%'TRUE | evaluated 33 times by 2 testsEvaluated by:- tst_QNetworkRequest
- tst_QUrl
| FALSE | evaluated 3576 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
|
&& (uint(end) < i + 2TRUE | evaluated 1 time by 1 test | FALSE | evaluated 32 times by 2 testsEvaluated by:- tst_QNetworkRequest
- tst_QUrl
|
|| !isHex(data[i + 1])TRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QNetworkRequest
- tst_QUrl
| FALSE | evaluated 27 times by 2 testsEvaluated by:- tst_QNetworkRequest
- tst_QUrl
|
|| !isHex(data[i + 2])TRUE | evaluated 10 times by 1 test | FALSE | evaluated 17 times by 2 testsEvaluated by:- tst_QNetworkRequest
- tst_QUrl
|
)) | 1-3576 |
1097 | || uc <= 0x20TRUE | evaluated 4 times by 1 test | FALSE | evaluated 3589 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
|
|| strchr(forbidden, uc)TRUE | evaluated 14 times by 1 test | FALSE | evaluated 3575 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
|
) { | 4-3589 |
1098 | | - |
1099 | error = true; | - |
1100 | }executed 34 times by 2 tests: end of block Executed by:- tst_QNetworkRequest
- tst_QUrl
else if (section & UserInfoTRUE | evaluated 75 times by 1 test | FALSE | evaluated 3500 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
|
) { | 34-3500 |
1101 | if (section == UserInfoTRUE | evaluated 53 times by 1 test | FALSE | evaluated 22 times by 1 test |
&& strchr(forbiddenUserInfo + 1, uc)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 52 times by 1 test |
) | 1-53 |
1102 | error = true;executed 1 time by 1 test: error = true; | 1 |
1103 | else if (section != UserInfoTRUE | evaluated 22 times by 1 test | FALSE | evaluated 52 times by 1 test |
&& strchr(forbiddenUserInfo, uc)TRUE | evaluated 4 times by 1 test | FALSE | evaluated 18 times by 1 test |
) | 4-52 |
1104 | error = true;executed 4 times by 1 test: error = true; | 4 |
1105 | }executed 75 times by 1 test: end of block | 75 |
1106 | | - |
1107 | if (!errorTRUE | evaluated 3570 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
| FALSE | evaluated 39 times by 2 testsEvaluated by:- tst_QNetworkRequest
- tst_QUrl
|
) | 39-3570 |
1108 | continue;executed 3570 times by 4 tests: continue; Executed by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
| 3570 |
1109 | | - |
1110 | ErrorCode errorCode = ErrorCode(int(section) << 8); | - |
1111 | if (section == UserInfoTRUE | evaluated 12 times by 1 test | FALSE | evaluated 27 times by 2 testsEvaluated by:- tst_QNetworkRequest
- tst_QUrl
|
) { | 12-27 |
1112 | | - |
1113 | errorCode = InvalidUserNameError; | - |
1114 | for (uint j = uint(begin); j < iTRUE | evaluated 41 times by 1 test | FALSE | evaluated 9 times by 1 test |
; ++j) | 9-41 |
1115 | if (data[j] == ':'TRUE | evaluated 3 times by 1 test | FALSE | evaluated 38 times by 1 test |
) { | 3-38 |
1116 | errorCode = InvalidPasswordError; | - |
1117 | break;executed 3 times by 1 test: break; | 3 |
1118 | } | - |
1119 | }executed 12 times by 1 test: end of block | 12 |
1120 | | - |
1121 | setError(errorCode, input, i); | - |
1122 | returnexecuted 39 times by 2 tests: return false; Executed by:- tst_QNetworkRequest
- tst_QUrl
false;executed 39 times by 2 tests: return false; Executed by:- tst_QNetworkRequest
- tst_QUrl
| 39 |
1123 | } | - |
1124 | | - |
1125 | | - |
1126 | returnexecuted 147 times by 4 tests: return true; Executed by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
true;executed 147 times by 4 tests: return true; Executed by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
| 147 |
1127 | } | - |
1128 | QUrl::QUrl(const QString &url, ParsingMode parsingMode) : d(0) | - |
1129 | { | - |
1130 | setUrl(url, parsingMode); | - |
1131 | }executed 8717 times by 34 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- ...
| 8717 |
1132 | | - |
1133 | | - |
1134 | | - |
1135 | | - |
1136 | QUrl::QUrl() : d(0) | - |
1137 | { | - |
1138 | }executed 45822 times by 85 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- ...
| 45822 |
1139 | | - |
1140 | | - |
1141 | | - |
1142 | | - |
1143 | QUrl::QUrl(const QUrl &other) : d(other.d) | - |
1144 | { | - |
1145 | if (dTRUE | evaluated 63243 times by 50 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- ...
| FALSE | evaluated 10185 times by 24 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFiledialog
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_selftests - unknown status
|
) | 10185-63243 |
1146 | d->ref.ref();executed 63243 times by 50 tests: d->ref.ref(); Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- ...
| 63243 |
1147 | }executed 73428 times by 52 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- ...
| 73428 |
1148 | | - |
1149 | | - |
1150 | | - |
1151 | | - |
1152 | QUrl::~QUrl() | - |
1153 | { | - |
1154 | if (dTRUE | evaluated 94490 times by 62 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- ...
| FALSE | evaluated 37727 times by 83 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QItemDelegate
- tst_QLabel
- tst_QMainWindow
- tst_QMdiArea
- ...
|
&& !d->ref.deref()TRUE | evaluated 32655 times by 62 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- ...
| FALSE | evaluated 61835 times by 52 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QObject
- ...
|
) | 32655-94490 |
1155 | delete d;executed 32655 times by 62 tests: delete d; Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- ...
| 32655 |
1156 | }executed 132217 times by 98 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QAbstractTextDocumentLayout
- tst_QAccessibility
- tst_QApplication
- tst_QCompleter
- tst_QDataUrl
- tst_QDataWidgetMapper
- tst_QErrorMessage
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QIODevice
- ...
| 132217 |
1157 | bool QUrl::isValid() const | - |
1158 | { | - |
1159 | if (isEmpty()TRUE | evaluated 318 times by 15 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_languageChange
- tst_qdesktopservices
- tst_selftests - unknown status
| FALSE | evaluated 16108 times by 31 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- ...
|
) { | 318-16108 |
1160 | | - |
1161 | returnexecuted 318 times by 15 tests: return false; Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_languageChange
- tst_qdesktopservices
- tst_selftests - unknown status
false;executed 318 times by 15 tests: return false; Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_languageChange
- tst_qdesktopservices
- tst_selftests - unknown status
| 318 |
1162 | } | - |
1163 | returnexecuted 16108 times by 31 tests: return d->validityError() == QUrlPrivate::NoError; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- ...
d->validityError() == QUrlPrivate::NoError;executed 16108 times by 31 tests: return d->validityError() == QUrlPrivate::NoError; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- tst_QVariant
- ...
| 16108 |
1164 | } | - |
1165 | | - |
1166 | | - |
1167 | | - |
1168 | | - |
1169 | | - |
1170 | | - |
1171 | bool QUrl::isEmpty() const | - |
1172 | { | - |
1173 | if (!dTRUE | evaluated 915 times by 17 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_Spdy
- tst_languageChange
- tst_qdesktopservices
- tst_selftests - unknown status
| FALSE | evaluated 16753 times by 32 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- ...
|
) returnexecuted 915 times by 17 tests: return true; Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_Spdy
- tst_languageChange
- tst_qdesktopservices
- tst_selftests - unknown status
true;executed 915 times by 17 tests: return true; Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_Spdy
- tst_languageChange
- tst_qdesktopservices
- tst_selftests - unknown status
| 915-16753 |
1174 | returnexecuted 16753 times by 32 tests: return d->isEmpty(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- ...
d->isEmpty();executed 16753 times by 32 tests: return d->isEmpty(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QUrlInternal
- ...
| 16753 |
1175 | } | - |
1176 | void QUrl::clear() | - |
1177 | { | - |
1178 | if (dTRUE | evaluated 109 times by 3 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QUrl
| FALSE | never evaluated |
&& !d->ref.deref()TRUE | evaluated 109 times by 3 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QUrl
| FALSE | never evaluated |
) | 0-109 |
1179 | delete d;executed 109 times by 3 tests: delete d; Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QUrl
| 109 |
1180 | d = 0; | - |
1181 | }executed 109 times by 3 tests: end of block Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QUrl
| 109 |
1182 | void QUrl::setUrl(const QString &url, ParsingMode parsingMode) | - |
1183 | { | - |
1184 | if (parsingMode == DecodedModeTRUE | never evaluated | FALSE | evaluated 9971 times by 34 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- ...
|
) { | 0-9971 |
1185 | QMessageLogger(__FILE__, 1908, __PRETTY_FUNCTION__).warning("QUrl: QUrl::DecodedMode is not permitted when parsing a full URL"); | - |
1186 | } never executed: end of block else { | 0 |
1187 | detach(); | - |
1188 | d->parse(url, parsingMode); | - |
1189 | }executed 9971 times by 34 tests: end of block Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- ...
| 9971 |
1190 | } | - |
1191 | void QUrl::setScheme(const QString &scheme) | - |
1192 | { | - |
1193 | detach(); | - |
1194 | d->clearError(); | - |
1195 | if (scheme.isEmpty()TRUE | evaluated 6202 times by 26 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
- tst_QUrl
- ...
| FALSE | evaluated 6050 times by 18 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
- tst_qfileopenevent
|
) { | 6050-6202 |
1196 | | - |
1197 | d->sectionIsPresent &= ~QUrlPrivate::Scheme; | - |
1198 | d->flags &= ~QUrlPrivate::IsLocalFile; | - |
1199 | d->scheme.clear(); | - |
1200 | }executed 6202 times by 26 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
- tst_QUrl
- ...
else { | 6202 |
1201 | d->setScheme(scheme, scheme.length(), true); | - |
1202 | }executed 6050 times by 18 tests: end of block Executed by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
- tst_qfileopenevent
| 6050 |
1203 | } | - |
1204 | QString QUrl::scheme() const | - |
1205 | { | - |
1206 | if (!dTRUE | evaluated 561 times by 10 testsEvaluated by:- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager
- tst_QNetworkReply
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_Spdy
- tst_qdesktopservices
| FALSE | evaluated 11016 times by 27 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- ...
|
) returnexecuted 561 times by 10 tests: return QString(); Executed by:- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager
- tst_QNetworkReply
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_Spdy
- tst_qdesktopservices
QString();executed 561 times by 10 tests: return QString(); Executed by:- tst_QHttpNetworkReply
- tst_QHttpSocketEngine
- tst_QNetworkAccessManager
- tst_QNetworkReply
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpSocket
- tst_Spdy
- tst_qdesktopservices
| 561-11016 |
1207 | | - |
1208 | returnexecuted 11016 times by 27 tests: return d->scheme; Executed by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- ...
d->scheme;executed 11016 times by 27 tests: return d->scheme; Executed by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- ...
| 11016 |
1209 | } | - |
1210 | void QUrl::setAuthority(const QString &authority, ParsingMode mode) | - |
1211 | { | - |
1212 | detach(); | - |
1213 | d->clearError(); | - |
1214 | | - |
1215 | if (mode == DecodedModeTRUE | never evaluated | FALSE | evaluated 31 times by 1 test |
) { | 0-31 |
1216 | QMessageLogger(__FILE__, 2022, __PRETTY_FUNCTION__).warning("QUrl::setAuthority(): QUrl::DecodedMode is not permitted in this function"); | - |
1217 | return; never executed: return; | 0 |
1218 | } | - |
1219 | | - |
1220 | d->setAuthority(authority, 0, authority.length(), mode); | - |
1221 | if (authority.isNull()TRUE | evaluated 13 times by 1 test | FALSE | evaluated 18 times by 1 test |
) { | 13-18 |
1222 | | - |
1223 | | - |
1224 | d->sectionIsPresent &= ~QUrlPrivate::Authority; | - |
1225 | }executed 13 times by 1 test: end of block | 13 |
1226 | }executed 31 times by 1 test: end of block | 31 |
1227 | QString QUrl::authority(ComponentFormattingOptions options) const | - |
1228 | { | - |
1229 | QString result; | - |
1230 | if (!dTRUE | evaluated 1 time by 1 test | FALSE | evaluated 177 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
|
) | 1-177 |
1231 | returnexecuted 1 time by 1 test: return result; result;executed 1 time by 1 test: return result; | 1 |
1232 | | - |
1233 | if (options == QUrl::FullyDecodedTRUE | never evaluated | FALSE | evaluated 177 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
|
) { | 0-177 |
1234 | QMessageLogger(__FILE__, 2056, __PRETTY_FUNCTION__).warning("QUrl::authority(): QUrl::FullyDecoded is not permitted in this function"); | - |
1235 | return never executed: return result; result;never executed: return result; | 0 |
1236 | } | - |
1237 | | - |
1238 | d->appendAuthority(result, options, QUrlPrivate::Authority); | - |
1239 | returnexecuted 177 times by 3 tests: return result; Executed by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
result;executed 177 times by 3 tests: return result; Executed by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 177 |
1240 | } | - |
1241 | void QUrl::setUserInfo(const QString &userInfo, ParsingMode mode) | - |
1242 | { | - |
1243 | detach(); | - |
1244 | d->clearError(); | - |
1245 | QString trimmed = userInfo.trimmed(); | - |
1246 | if (mode == DecodedModeTRUE | never evaluated | FALSE | evaluated 51 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
|
) { | 0-51 |
1247 | QMessageLogger(__FILE__, 2093, __PRETTY_FUNCTION__).warning("QUrl::setUserInfo(): QUrl::DecodedMode is not permitted in this function"); | - |
1248 | return; never executed: return; | 0 |
1249 | } | - |
1250 | | - |
1251 | d->setUserInfo(trimmed, 0, trimmed.length()); | - |
1252 | if (userInfo.isNull()TRUE | evaluated 41 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
| FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
|
) { | 10-41 |
1253 | | - |
1254 | | - |
1255 | d->sectionIsPresent &= ~QUrlPrivate::UserInfo; | - |
1256 | }executed 41 times by 2 tests: end of block Executed by:- tst_QNetworkReply
- tst_QUrl
else if (mode == StrictModeTRUE | evaluated 5 times by 1 test | FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
|
&& !d->validateComponent(QUrlPrivate::UserInfo, userInfo)TRUE | evaluated 5 times by 1 test | FALSE | never evaluated |
) { | 0-41 |
1257 | d->sectionIsPresent &= ~QUrlPrivate::UserInfo; | - |
1258 | d->userName.clear(); | - |
1259 | d->password.clear(); | - |
1260 | }executed 5 times by 1 test: end of block | 5 |
1261 | }executed 51 times by 2 tests: end of block Executed by:- tst_QNetworkReply
- tst_QUrl
| 51 |
1262 | QString QUrl::userInfo(ComponentFormattingOptions options) const | - |
1263 | { | - |
1264 | QString result; | - |
1265 | if (!dTRUE | evaluated 1 time by 1 test | FALSE | evaluated 2348 times by 9 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
|
) | 1-2348 |
1266 | returnexecuted 1 time by 1 test: return result; result;executed 1 time by 1 test: return result; | 1 |
1267 | | - |
1268 | if (options == QUrl::FullyDecodedTRUE | never evaluated | FALSE | evaluated 2348 times by 9 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
|
) { | 0-2348 |
1269 | QMessageLogger(__FILE__, 2130, __PRETTY_FUNCTION__).warning("QUrl::userInfo(): QUrl::FullyDecoded is not permitted in this function"); | - |
1270 | return never executed: return result; result;never executed: return result; | 0 |
1271 | } | - |
1272 | | - |
1273 | d->appendUserInfo(result, options, QUrlPrivate::UserInfo); | - |
1274 | returnexecuted 2348 times by 9 tests: return result; Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
result;executed 2348 times by 9 tests: return result; Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
| 2348 |
1275 | } | - |
1276 | void QUrl::setUserName(const QString &userName, ParsingMode mode) | - |
1277 | { | - |
1278 | detach(); | - |
1279 | d->clearError(); | - |
1280 | | - |
1281 | QString data = userName; | - |
1282 | if (mode == DecodedModeTRUE | evaluated 1888 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 9 times by 1 test |
) { | 9-1888 |
1283 | parseDecodedComponent(data); | - |
1284 | mode = TolerantMode; | - |
1285 | }executed 1888 times by 3 tests: end of block Executed by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 1888 |
1286 | | - |
1287 | d->setUserName(data, 0, data.length()); | - |
1288 | if (userName.isNull()TRUE | evaluated 532 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 1365 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
|
) | 532-1365 |
1289 | d->sectionIsPresent &= ~QUrlPrivate::UserName;executed 532 times by 3 tests: d->sectionIsPresent &= ~QUrlPrivate::UserName; Executed by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 532 |
1290 | else if (mode == StrictModeTRUE | evaluated 4 times by 1 test | FALSE | evaluated 1361 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
|
&& !d->validateComponent(QUrlPrivate::UserName, userName)TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
) | 0-1361 |
1291 | d->userName.clear();executed 4 times by 1 test: d->userName.clear(); | 4 |
1292 | }executed 1897 times by 3 tests: end of block Executed by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 1897 |
1293 | QString QUrl::userName(ComponentFormattingOptions options) const | - |
1294 | { | - |
1295 | QString result; | - |
1296 | if (dTRUE | evaluated 783 times by 3 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
| FALSE | evaluated 2 times by 1 test |
) | 2-783 |
1297 | d->appendUserName(result, options);executed 783 times by 3 tests: d->appendUserName(result, options); Executed by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
| 783 |
1298 | returnexecuted 785 times by 3 tests: return result; Executed by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
result;executed 785 times by 3 tests: return result; Executed by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
| 785 |
1299 | } | - |
1300 | void QUrl::setPassword(const QString &password, ParsingMode mode) | - |
1301 | { | - |
1302 | detach(); | - |
1303 | d->clearError(); | - |
1304 | | - |
1305 | QString data = password; | - |
1306 | if (mode == DecodedModeTRUE | evaluated 446 times by 5 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
| FALSE | evaluated 7 times by 1 test |
) { | 7-446 |
1307 | parseDecodedComponent(data); | - |
1308 | mode = TolerantMode; | - |
1309 | }executed 446 times by 5 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
| 446 |
1310 | | - |
1311 | d->setPassword(data, 0, data.length()); | - |
1312 | if (password.isNull()TRUE | evaluated 437 times by 5 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
| FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
|
) | 16-437 |
1313 | d->sectionIsPresent &= ~QUrlPrivate::Password;executed 437 times by 5 tests: d->sectionIsPresent &= ~QUrlPrivate::Password; Executed by:- tst_QAbstractNetworkCache
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
| 437 |
1314 | else if (mode == StrictModeTRUE | evaluated 4 times by 1 test | FALSE | evaluated 12 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
|
&& !d->validateComponent(QUrlPrivate::Password, password)TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
) | 0-12 |
1315 | d->password.clear();executed 4 times by 1 test: d->password.clear(); | 4 |
1316 | }executed 453 times by 5 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
| 453 |
1317 | QString QUrl::password(ComponentFormattingOptions options) const | - |
1318 | { | - |
1319 | QString result; | - |
1320 | if (dTRUE | evaluated 577 times by 6 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 2 times by 1 test |
) | 2-577 |
1321 | d->appendPassword(result, options);executed 577 times by 6 tests: d->appendPassword(result, options); Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 577 |
1322 | returnexecuted 579 times by 6 tests: return result; Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
result;executed 579 times by 6 tests: return result; Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 579 |
1323 | } | - |
1324 | void QUrl::setHost(const QString &host, ParsingMode mode) | - |
1325 | { | - |
1326 | detach(); | - |
1327 | d->clearError(); | - |
1328 | | - |
1329 | QString data = host; | - |
1330 | if (mode == DecodedModeTRUE | evaluated 6938 times by 27 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- ...
| FALSE | evaluated 5 times by 1 test |
) { | 5-6938 |
1331 | parseDecodedComponent(data); | - |
1332 | mode = TolerantMode; | - |
1333 | }executed 6938 times by 27 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- ...
| 6938 |
1334 | | - |
1335 | if (d->setHost(data, 0, data.length(), mode)TRUE | evaluated 6862 times by 27 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- ...
| FALSE | evaluated 81 times by 7 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
|
) { | 81-6862 |
1336 | if (host.isNull()TRUE | evaluated 181 times by 7 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocketNotifier
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 6681 times by 27 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- ...
|
) | 181-6681 |
1337 | d->sectionIsPresent &= ~QUrlPrivate::Host;executed 181 times by 7 tests: d->sectionIsPresent &= ~QUrlPrivate::Host; Executed by:- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSocketNotifier
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 181 |
1338 | }executed 6862 times by 27 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- ...
else if (!data.startsWith(QLatin1Char('['))TRUE | evaluated 81 times by 7 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| FALSE | never evaluated |
) { | 0-6862 |
1339 | | - |
1340 | ((!(d->error)) ? qt_assert("d->error",__FILE__,2357) : qt_noop()); | - |
1341 | | - |
1342 | data.prepend(QLatin1Char('[')); | - |
1343 | data.append(QLatin1Char(']')); | - |
1344 | if (!d->setHost(data, 0, data.length(), mode)TRUE | evaluated 27 times by 5 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
| FALSE | evaluated 54 times by 5 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
|
) { | 27-54 |
1345 | | - |
1346 | if (data.contains(QLatin1Char(':'))TRUE | evaluated 8 times by 4 testsEvaluated by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrlInternal
- tst_Spdy
| FALSE | evaluated 19 times by 2 tests |
) { | 8-19 |
1347 | | - |
1348 | d->error->code = QUrlPrivate::InvalidIPv6AddressError; | - |
1349 | }executed 8 times by 4 tests: end of block Executed by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrlInternal
- tst_Spdy
| 8 |
1350 | }executed 27 times by 5 tests: end of block Executed by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QUrl
- tst_QUrlInternal
- tst_Spdy
else { | 27 |
1351 | | - |
1352 | d->clearError(); | - |
1353 | }executed 54 times by 5 tests: end of block Executed by:- tst_QNetworkProxyFactory
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 54 |
1354 | } | - |
1355 | }executed 6943 times by 27 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
- tst_QUrl
- tst_QUrlInternal
- ...
| 6943 |
1356 | QString QUrl::host(ComponentFormattingOptions options) const | - |
1357 | { | - |
1358 | QString result; | - |
1359 | if (dTRUE | evaluated 10012 times by 34 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- ...
| FALSE | evaluated 2578 times by 20 testsEvaluated by:- tst_NetworkSelfTest
- tst_QFtp
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkReply
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextStream
- tst_QUdpSocket
- tst_QUrl
- tst_QXmlSimpleReader
|
) { | 2578-10012 |
1360 | d->appendHost(result, options); | - |
1361 | if (result.startsWith(QLatin1Char('['))TRUE | evaluated 53 times by 7 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| FALSE | evaluated 9959 times by 34 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- ...
|
) | 53-9959 |
1362 | result = result.mid(1, result.length() - 2);executed 53 times by 7 tests: result = result.mid(1, result.length() - 2); Executed by:- tst_QNetworkCookieJar
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTcpServer
- tst_QTcpSocket
- tst_QUdpSocket
- tst_QUrl
| 53 |
1363 | }executed 10012 times by 34 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- ...
| 10012 |
1364 | returnexecuted 12590 times by 34 tests: return result; Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- ...
result;executed 12590 times by 34 tests: return result; Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- ...
| 12590 |
1365 | } | - |
1366 | void QUrl::setPort(int port) | - |
1367 | { | - |
1368 | detach(); | - |
1369 | d->clearError(); | - |
1370 | | - |
1371 | if (port < -1TRUE | evaluated 1 time by 1 test | FALSE | evaluated 7721 times by 30 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextStream
- ...
|
|| port > 65535TRUE | evaluated 2 times by 1 test | FALSE | evaluated 7719 times by 30 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextStream
- ...
|
) { | 1-7721 |
1372 | d->setError(QUrlPrivate::InvalidPortError, QString::number(port), 0); | - |
1373 | port = -1; | - |
1374 | }executed 3 times by 1 test: end of block | 3 |
1375 | | - |
1376 | d->port = port; | - |
1377 | }executed 7722 times by 30 tests: end of block Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QEventLoop
- tst_QFtp
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QSocketNotifier
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextStream
- ...
| 7722 |
1378 | int QUrl::port(int defaultPort) const | - |
1379 | { | - |
1380 | if (!dTRUE | evaluated 1 time by 1 test | FALSE | evaluated 4125 times by 9 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
|
) returnexecuted 1 time by 1 test: return defaultPort; defaultPort;executed 1 time by 1 test: return defaultPort; | 1-4125 |
1381 | returnexecuted 4125 times by 9 tests: return d->port == -1 ? defaultPort : d->port; Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
d->port == -1 ? defaultPort : d->port;executed 4125 times by 9 tests: return d->port == -1 ? defaultPort : d->port; Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
| 4125 |
1382 | } | - |
1383 | void QUrl::setPath(const QString &path, ParsingMode mode) | - |
1384 | { | - |
1385 | detach(); | - |
1386 | d->clearError(); | - |
1387 | | - |
1388 | QString data = path; | - |
1389 | if (mode == DecodedModeTRUE | evaluated 5656 times by 16 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
- tst_qfileopenevent
| FALSE | evaluated 12 times by 1 test |
) { | 12-5656 |
1390 | parseDecodedComponent(data); | - |
1391 | mode = TolerantMode; | - |
1392 | }executed 5656 times by 16 tests: end of block Executed by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
- tst_qfileopenevent
| 5656 |
1393 | | - |
1394 | int from = 0; | - |
1395 | while (from < data.length() - 2TRUE | evaluated 5334 times by 11 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- tst_qfileopenevent
| FALSE | evaluated 336 times by 10 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSidebar
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
|
&& data.midRef(from, 2) == QLatin1String("//")TRUE | evaluated 2 times by 1 test | FALSE | evaluated 5332 times by 11 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- tst_qfileopenevent
|
) | 2-5334 |
1396 | ++executed 2 times by 1 test: ++from; from;executed 2 times by 1 test: ++from; | 2 |
1397 | d->setPath(data, from, data.length()); | - |
1398 | | - |
1399 | | - |
1400 | | - |
1401 | | - |
1402 | | - |
1403 | if (mode == StrictModeTRUE | evaluated 4 times by 1 test | FALSE | evaluated 5664 times by 16 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
- tst_qfileopenevent
|
&& !d->validateComponent(QUrlPrivate::Path, path)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 2 times by 1 test |
) | 2-5664 |
1404 | d->path.clear();executed 2 times by 1 test: d->path.clear(); | 2 |
1405 | }executed 5668 times by 16 tests: end of block Executed by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
- tst_qfileopenevent
| 5668 |
1406 | QString QUrl::path(ComponentFormattingOptions options) const | - |
1407 | { | - |
1408 | QString result; | - |
1409 | if (dTRUE | evaluated 4771 times by 19 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
| FALSE | evaluated 7 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QTextBrowser
- tst_QUrl
|
) | 7-4771 |
1410 | d->appendPath(result, options, QUrlPrivate::Path);executed 4771 times by 19 tests: d->appendPath(result, options, QUrlPrivate::Path); Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
| 4771 |
1411 | returnexecuted 4778 times by 20 tests: return result; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
result;executed 4778 times by 20 tests: return result; Executed by:- tst_QAbstractNetworkCache
- tst_QAccessibility
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
| 4778 |
1412 | } | - |
1413 | QString QUrl::fileName(ComponentFormattingOptions options) const | - |
1414 | { | - |
1415 | const QString ourPath = path(options); | - |
1416 | const int slash = ourPath.lastIndexOf(QLatin1Char('/')); | - |
1417 | if (slash == -1TRUE | evaluated 2 times by 1 test | FALSE | evaluated 15 times by 1 test |
) | 2-15 |
1418 | returnexecuted 2 times by 1 test: return ourPath; ourPath;executed 2 times by 1 test: return ourPath; | 2 |
1419 | returnexecuted 15 times by 1 test: return ourPath.mid(slash + 1); ourPath.mid(slash + 1);executed 15 times by 1 test: return ourPath.mid(slash + 1); | 15 |
1420 | } | - |
1421 | bool QUrl::hasQuery() const | - |
1422 | { | - |
1423 | if (!dTRUE | never evaluated | FALSE | evaluated 26 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
|
) returnnever executed: return false; false;never executed: return false; | 0-26 |
1424 | returnexecuted 26 times by 2 tests: return d->hasQuery(); Executed by:- tst_QNetworkReply
- tst_QUrl
d->hasQuery();executed 26 times by 2 tests: return d->hasQuery(); Executed by:- tst_QNetworkReply
- tst_QUrl
| 26 |
1425 | } | - |
1426 | void QUrl::setQuery(const QString &query, ParsingMode mode) | - |
1427 | { | - |
1428 | detach(); | - |
1429 | d->clearError(); | - |
1430 | | - |
1431 | QString data = query; | - |
1432 | if (mode == DecodedModeTRUE | evaluated 1 time by 1 test | FALSE | evaluated 158 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
|
) { | 1-158 |
1433 | parseDecodedComponent(data); | - |
1434 | mode = TolerantMode; | - |
1435 | }executed 1 time by 1 test: end of block | 1 |
1436 | | - |
1437 | d->setQuery(data, 0, data.length()); | - |
1438 | if (query.isNull()TRUE | evaluated 7 times by 1 test | FALSE | evaluated 152 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
|
) | 7-152 |
1439 | d->sectionIsPresent &= ~QUrlPrivate::Query;executed 7 times by 1 test: d->sectionIsPresent &= ~QUrlPrivate::Query; | 7 |
1440 | else if (mode == StrictModeTRUE | evaluated 2 times by 1 test | FALSE | evaluated 150 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
|
&& !d->validateComponent(QUrlPrivate::Query, query)TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-150 |
1441 | d->query.clear();executed 2 times by 1 test: d->query.clear(); | 2 |
1442 | }executed 159 times by 3 tests: end of block Executed by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 159 |
1443 | void QUrl::setQuery(const QUrlQuery &query) | - |
1444 | { | - |
1445 | detach(); | - |
1446 | d->clearError(); | - |
1447 | | - |
1448 | | - |
1449 | d->query = query.toString(); | - |
1450 | if (query.isEmpty()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1451 | d->sectionIsPresent &= ~QUrlPrivate::Query; never executed: d->sectionIsPresent &= ~QUrlPrivate::Query; | 0 |
1452 | else | - |
1453 | d->sectionIsPresent |= QUrlPrivate::Query; never executed: d->sectionIsPresent |= QUrlPrivate::Query; | 0 |
1454 | } | - |
1455 | QString QUrl::query(ComponentFormattingOptions options) const | - |
1456 | { | - |
1457 | QString result; | - |
1458 | if (dTRUE | evaluated 189 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 2 times by 1 test |
) { | 2-189 |
1459 | d->appendQuery(result, options, QUrlPrivate::Query); | - |
1460 | if (d->hasQuery()TRUE | evaluated 166 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 23 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
|
&& result.isNull()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 164 times by 3 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
|
) | 2-166 |
1461 | result.detach();executed 2 times by 1 test: result.detach(); | 2 |
1462 | }executed 189 times by 3 tests: end of block Executed by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 189 |
1463 | returnexecuted 191 times by 3 tests: return result; Executed by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
result;executed 191 times by 3 tests: return result; Executed by:- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 191 |
1464 | } | - |
1465 | void QUrl::setFragment(const QString &fragment, ParsingMode mode) | - |
1466 | { | - |
1467 | detach(); | - |
1468 | d->clearError(); | - |
1469 | | - |
1470 | QString data = fragment; | - |
1471 | if (mode == DecodedModeTRUE | evaluated 1 time by 1 test | FALSE | evaluated 1695 times by 8 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTextBrowser
- tst_QUrl
- tst_Spdy
|
) { | 1-1695 |
1472 | parseDecodedComponent(data); | - |
1473 | mode = TolerantMode; | - |
1474 | }executed 1 time by 1 test: end of block | 1 |
1475 | | - |
1476 | d->setFragment(data, 0, data.length()); | - |
1477 | if (fragment.isNull()TRUE | evaluated 1029 times by 8 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTextBrowser
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 667 times by 4 testsEvaluated by:- tst_QNetworkReply
- tst_QTextBrowser
- tst_QUrl
- tst_Spdy
|
) | 667-1029 |
1478 | d->sectionIsPresent &= ~QUrlPrivate::Fragment;executed 1029 times by 8 tests: d->sectionIsPresent &= ~QUrlPrivate::Fragment; Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTextBrowser
- tst_QUrl
- tst_Spdy
| 1029 |
1479 | else if (mode == StrictModeTRUE | evaluated 2 times by 1 test | FALSE | evaluated 665 times by 4 testsEvaluated by:- tst_QNetworkReply
- tst_QTextBrowser
- tst_QUrl
- tst_Spdy
|
&& !d->validateComponent(QUrlPrivate::Fragment, fragment)TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-665 |
1480 | d->fragment.clear();executed 2 times by 1 test: d->fragment.clear(); | 2 |
1481 | }executed 1696 times by 8 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTextBrowser
- tst_QUrl
- tst_Spdy
| 1696 |
1482 | QString QUrl::fragment(ComponentFormattingOptions options) const | - |
1483 | { | - |
1484 | QString result; | - |
1485 | if (dTRUE | evaluated 128 times by 2 tests | FALSE | evaluated 2 times by 1 test |
) { | 2-128 |
1486 | d->appendFragment(result, options, QUrlPrivate::Fragment); | - |
1487 | if (d->hasFragment()TRUE | evaluated 59 times by 2 tests | FALSE | evaluated 69 times by 2 tests |
&& result.isNull()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 57 times by 2 tests |
) | 2-69 |
1488 | result.detach();executed 2 times by 1 test: result.detach(); | 2 |
1489 | }executed 128 times by 2 tests: end of block | 128 |
1490 | returnexecuted 130 times by 2 tests: return result; result;executed 130 times by 2 tests: return result; | 130 |
1491 | } | - |
1492 | bool QUrl::hasFragment() const | - |
1493 | { | - |
1494 | if (!dTRUE | never evaluated | FALSE | evaluated 137 times by 6 testsEvaluated by:- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
|
) returnnever executed: return false; false;never executed: return false; | 0-137 |
1495 | returnexecuted 137 times by 6 tests: return d->hasFragment(); Executed by:- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
d->hasFragment();executed 137 times by 6 tests: return d->hasFragment(); Executed by:- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
| 137 |
1496 | } | - |
1497 | QString QUrl::topLevelDomain(ComponentFormattingOptions options) const | - |
1498 | { | - |
1499 | QString tld = qTopLevelDomain(host()); | - |
1500 | if (options & EncodeUnicodeTRUE | evaluated 18 times by 1 test | FALSE | evaluated 18 times by 1 test |
) { | 18 |
1501 | returnexecuted 18 times by 1 test: return qt_ACE_do(tld, ToAceOnly, AllowLeadingDot); qt_ACE_do(tld, ToAceOnly, AllowLeadingDot);executed 18 times by 1 test: return qt_ACE_do(tld, ToAceOnly, AllowLeadingDot); | 18 |
1502 | } | - |
1503 | returnexecuted 18 times by 1 test: return tld; tld;executed 18 times by 1 test: return tld; | 18 |
1504 | } | - |
1505 | QUrl QUrl::resolved(const QUrl &relative) const | - |
1506 | { | - |
1507 | if (!dTRUE | evaluated 150 times by 7 testsEvaluated by:- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
| FALSE | evaluated 4486 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
) returnexecuted 150 times by 7 tests: return relative; Executed by:- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
relative;executed 150 times by 7 tests: return relative; Executed by:- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
| 150-4486 |
1508 | if (!relative.dTRUE | never evaluated | FALSE | evaluated 4486 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
) returnnever executed: return *this; *this;never executed: return *this; | 0-4486 |
1509 | | - |
1510 | QUrl t; | - |
1511 | | - |
1512 | if (!relative.d->scheme.isEmpty()TRUE | evaluated 1084 times by 3 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QUrl
| FALSE | evaluated 3402 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
&& (!relative.isLocalFile()TRUE | evaluated 1053 times by 2 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QUrl
| FALSE | evaluated 31 times by 1 test |
|| QDir::isAbsolutePath(relative.d->path)TRUE | evaluated 10 times by 1 test | FALSE | evaluated 21 times by 1 test |
)) { | 10-3402 |
1513 | t = relative; | - |
1514 | t.detach(); | - |
1515 | }executed 1063 times by 3 tests: end of block Executed by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QUrl
else { | 1063 |
1516 | if (relative.d->hasAuthority()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 3421 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
) { | 2-3421 |
1517 | t = relative; | - |
1518 | t.detach(); | - |
1519 | }executed 2 times by 1 test: end of block else { | 2 |
1520 | t.d = new QUrlPrivate; | - |
1521 | | - |
1522 | | - |
1523 | t.d->userName = d->userName; | - |
1524 | t.d->password = d->password; | - |
1525 | t.d->host = d->host; | - |
1526 | t.d->port = d->port; | - |
1527 | t.d->sectionIsPresent = d->sectionIsPresent & QUrlPrivate::Authority; | - |
1528 | | - |
1529 | if (relative.d->path.isEmpty()TRUE | evaluated 5 times by 2 tests | FALSE | evaluated 3416 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
) { | 5-3416 |
1530 | t.d->path = d->path; | - |
1531 | if (relative.d->hasQuery()TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4 times by 2 tests |
) { | 1-4 |
1532 | t.d->query = relative.d->query; | - |
1533 | t.d->sectionIsPresent |= QUrlPrivate::Query; | - |
1534 | }executed 1 time by 1 test: end of block else if (d->hasQuery()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 2 times by 1 test |
) { | 1-2 |
1535 | t.d->query = d->query; | - |
1536 | t.d->sectionIsPresent |= QUrlPrivate::Query; | - |
1537 | }executed 2 times by 1 test: end of block | 2 |
1538 | }executed 5 times by 2 tests: end of block else { | 5 |
1539 | t.d->path = relative.d->path.startsWith(QLatin1Char('/'))TRUE | evaluated 27 times by 2 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QUrl
| FALSE | evaluated 3389 times by 4 testsEvaluated by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
| 27-3389 |
1540 | ? relative.d->path | - |
1541 | : d->mergePaths(relative.d->path); | - |
1542 | if (relative.d->hasQuery()TRUE | evaluated 25 times by 2 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QUrl
| FALSE | evaluated 3391 times by 4 testsEvaluated by:- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
) { | 25-3391 |
1543 | t.d->query = relative.d->query; | - |
1544 | t.d->sectionIsPresent |= QUrlPrivate::Query; | - |
1545 | }executed 25 times by 2 tests: end of block Executed by:- tst_QNetworkCookieJar
- tst_QUrl
| 25 |
1546 | }executed 3416 times by 5 tests: end of block Executed by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| 3416 |
1547 | } | - |
1548 | t.d->scheme = d->scheme; | - |
1549 | if (d->hasScheme()TRUE | evaluated 3411 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| FALSE | evaluated 12 times by 2 tests |
) | 12-3411 |
1550 | t.d->sectionIsPresent |= QUrlPrivate::Scheme;executed 3411 times by 5 tests: t.d->sectionIsPresent |= QUrlPrivate::Scheme; Executed by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| 3411 |
1551 | else | - |
1552 | t.d->sectionIsPresent &= ~QUrlPrivate::Scheme;executed 12 times by 2 tests: t.d->sectionIsPresent &= ~QUrlPrivate::Scheme; | 12 |
1553 | t.d->flags |= d->flags & QUrlPrivate::IsLocalFile; | - |
1554 | }executed 3423 times by 5 tests: end of block Executed by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| 3423 |
1555 | t.d->fragment = relative.d->fragment; | - |
1556 | if (relative.d->hasFragment()TRUE | evaluated 10 times by 2 tests | FALSE | evaluated 4476 times by 5 testsEvaluated by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
|
) | 10-4476 |
1557 | t.d->sectionIsPresent |= QUrlPrivate::Fragment;executed 10 times by 2 tests: t.d->sectionIsPresent |= QUrlPrivate::Fragment; | 10 |
1558 | else | - |
1559 | t.d->sectionIsPresent &= ~QUrlPrivate::Fragment;executed 4476 times by 5 tests: t.d->sectionIsPresent &= ~QUrlPrivate::Fragment; Executed by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| 4476 |
1560 | | - |
1561 | removeDotsFromPath(&t.d->path); | - |
1562 | | - |
1563 | | - |
1564 | | - |
1565 | | - |
1566 | | - |
1567 | | - |
1568 | | - |
1569 | returnexecuted 4486 times by 5 tests: return t; Executed by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
t;executed 4486 times by 5 tests: return t; Executed by:- tst_QNetworkCookieJar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlStream
| 4486 |
1570 | } | - |
1571 | bool QUrl::isRelative() const | - |
1572 | { | - |
1573 | if (!dTRUE | evaluated 3 times by 1 test | FALSE | evaluated 424 times by 7 testsEvaluated by:- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
|
) returnexecuted 3 times by 1 test: return true; true;executed 3 times by 1 test: return true; | 3-424 |
1574 | returnexecuted 424 times by 7 tests: return !d->hasScheme(); Executed by:- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
!d->hasScheme();executed 424 times by 7 tests: return !d->hasScheme(); Executed by:- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
| 424 |
1575 | } | - |
1576 | QString QUrl::url(FormattingOptions options) const | - |
1577 | { | - |
1578 | returnexecuted 43 times by 3 tests: return toString(options); Executed by:- tst_QDataUrl
- tst_QNetworkReply
- tst_QUrl
toString(options);executed 43 times by 3 tests: return toString(options); Executed by:- tst_QDataUrl
- tst_QNetworkReply
- tst_QUrl
| 43 |
1579 | } | - |
1580 | QString QUrl::toString(FormattingOptions options) const | - |
1581 | { | - |
1582 | QString url; | - |
1583 | if (!isValid()TRUE | evaluated 149 times by 5 testsEvaluated by:- tst_QFileDialog2
- tst_QTextBrowser
- tst_QUrl
- tst_QVariant
- tst_languageChange
| FALSE | evaluated 9039 times by 28 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- ...
|
) { | 149-9039 |
1584 | | - |
1585 | returnexecuted 149 times by 5 tests: return url; Executed by:- tst_QFileDialog2
- tst_QTextBrowser
- tst_QUrl
- tst_QVariant
- tst_languageChange
url;executed 149 times by 5 tests: return url; Executed by:- tst_QFileDialog2
- tst_QTextBrowser
- tst_QUrl
- tst_QVariant
- tst_languageChange
| 149 |
1586 | } | - |
1587 | if (options == QUrl::FullyDecodedTRUE | never evaluated | FALSE | evaluated 9039 times by 28 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- ...
|
) { | 0-9039 |
1588 | QMessageLogger(__FILE__, 3282, __PRETTY_FUNCTION__).warning("QUrl: QUrl::FullyDecoded is not permitted when reconstructing the full URL"); | - |
1589 | options = QUrl::PrettyDecoded; | - |
1590 | } never executed: end of block | 0 |
1591 | | - |
1592 | | - |
1593 | | - |
1594 | | - |
1595 | | - |
1596 | | - |
1597 | | - |
1598 | if (options.testFlag(QUrl::PreferLocalFile)TRUE | evaluated 7 times by 1 test | FALSE | evaluated 9032 times by 28 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- ...
|
&& !options.testFlag(QUrl::RemovePath)TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
| 0-9032 |
1599 | && (!d->hasQuery()TRUE | evaluated 7 times by 1 test | FALSE | never evaluated |
|| options.testFlag(QUrl::RemoveQuery)TRUE | never evaluated | FALSE | never evaluated |
) | 0-7 |
1600 | && (!d->hasFragment()TRUE | evaluated 6 times by 1 test | FALSE | evaluated 1 time by 1 test |
|| options.testFlag(QUrl::RemoveFragment)TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
) | 0-6 |
1601 | && isLocalFile()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 2 times by 1 test |
) { | 2-4 |
1602 | url = d->toLocalFile(options); | - |
1603 | returnexecuted 4 times by 1 test: return url; url;executed 4 times by 1 test: return url; | 4 |
1604 | } | - |
1605 | | - |
1606 | | - |
1607 | if (options & DecodeReservedTRUE | evaluated 35 times by 1 test | FALSE | evaluated 9000 times by 28 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- ...
|
) | 35-9000 |
1608 | options &= ~EncodeReserved;executed 35 times by 1 test: options &= ~EncodeReserved; | 35 |
1609 | else | - |
1610 | options |= EncodeReserved;executed 9000 times by 28 tests: options |= EncodeReserved; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- ...
| 9000 |
1611 | | - |
1612 | if (!(options & QUrl::RemoveScheme)TRUE | evaluated 7044 times by 27 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- tst_qdesktopservices
- ...
| FALSE | evaluated 1991 times by 10 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
|
&& d->hasScheme()TRUE | evaluated 6834 times by 25 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
| FALSE | evaluated 210 times by 6 testsEvaluated by:- tst_NetworkSelfTest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
|
) | 210-7044 |
1613 | url += d->scheme + QLatin1Char(':');executed 6834 times by 25 tests: url += d->scheme + QLatin1Char(':'); Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
| 6834 |
1614 | | - |
1615 | bool pathIsAbsolute = d->path.startsWith(QLatin1Char('/')); | - |
1616 | if (!((options & QUrl::RemoveAuthority) == QUrl::RemoveAuthority)TRUE | evaluated 7073 times by 28 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- ...
| FALSE | evaluated 1962 times by 9 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
|
&& d->hasAuthority()TRUE | evaluated 5452 times by 20 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
| FALSE | evaluated 1621 times by 14 testsEvaluated by:- tst_NetworkSelfTest
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
- tst_languageChange
|
) { | 1621-7073 |
1617 | url += QLatin1String("//"); | - |
1618 | d->appendAuthority(url, options, QUrlPrivate::FullUrl); | - |
1619 | }executed 5452 times by 20 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
else if (isLocalFile()TRUE | evaluated 1323 times by 9 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QUrl
- tst_languageChange
| FALSE | evaluated 2260 times by 15 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
|
&& pathIsAbsoluteTRUE | evaluated 1038 times by 9 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QUrl
- tst_languageChange
| FALSE | evaluated 285 times by 6 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QTextBrowser
- tst_QUrl
- tst_languageChange
|
) { | 285-5452 |
1620 | | - |
1621 | url += QLatin1String("//"); | - |
1622 | }executed 1038 times by 9 tests: end of block Executed by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QUrl
- tst_languageChange
| 1038 |
1623 | | - |
1624 | if (!(options & QUrl::RemovePath)TRUE | evaluated 7129 times by 28 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- ...
| FALSE | evaluated 1906 times by 9 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
|
) | 1906-7129 |
1625 | d->appendPath(url, options, QUrlPrivate::FullUrl);executed 7129 times by 28 tests: d->appendPath(url, options, QUrlPrivate::FullUrl); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- ...
| 7129 |
1626 | | - |
1627 | if (!(options & QUrl::RemoveQuery)TRUE | evaluated 7121 times by 28 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- ...
| FALSE | evaluated 1914 times by 9 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
|
&& d->hasQuery()TRUE | evaluated 535 times by 4 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 6586 times by 28 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- ...
|
) { | 535-7121 |
1628 | url += QLatin1Char('?'); | - |
1629 | d->appendQuery(url, options, QUrlPrivate::FullUrl); | - |
1630 | }executed 535 times by 4 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QNetworkReply
- tst_QUrl
- tst_Spdy
| 535 |
1631 | if (!(options & QUrl::RemoveFragment)TRUE | evaluated 6032 times by 25 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
- tst_Spdy
- tst_languageChange
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
| FALSE | evaluated 3003 times by 9 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QUrl
- tst_QXmlInputSource
- tst_Spdy
|
&& d->hasFragment()TRUE | evaluated 792 times by 4 testsEvaluated by:- tst_QNetworkReply
- tst_QTextBrowser
- tst_QUrl
- tst_Spdy
| FALSE | evaluated 5240 times by 25 testsEvaluated by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
- tst_Spdy
- tst_languageChange
- tst_qdesktopservices
- tst_qfileopenevent
- tst_selftests - unknown status
|
) { | 792-6032 |
1632 | url += QLatin1Char('#'); | - |
1633 | d->appendFragment(url, options, QUrlPrivate::FullUrl); | - |
1634 | }executed 792 times by 4 tests: end of block Executed by:- tst_QNetworkReply
- tst_QTextBrowser
- tst_QUrl
- tst_Spdy
| 792 |
1635 | | - |
1636 | returnexecuted 9035 times by 28 tests: return url; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- ...
url;executed 9035 times by 28 tests: return url; Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_languageChange
- ...
| 9035 |
1637 | } | - |
1638 | QString QUrl::toDisplayString(FormattingOptions options) const | - |
1639 | { | - |
1640 | returnexecuted 227 times by 4 tests: return toString(options | RemovePassword); Executed by:- tst_QMimeData
- tst_QNetworkReply
- tst_QUrl
- tst_QVariant
toString(options | RemovePassword);executed 227 times by 4 tests: return toString(options | RemovePassword); Executed by:- tst_QMimeData
- tst_QNetworkReply
- tst_QUrl
- tst_QVariant
| 227 |
1641 | } | - |
1642 | QUrl QUrl::adjusted(QUrl::FormattingOptions options) const | - |
1643 | { | - |
1644 | if (!isValid()TRUE | never evaluated | FALSE | evaluated 66 times by 1 test |
) { | 0-66 |
1645 | | - |
1646 | return never executed: return QUrl(); QUrl();never executed: return QUrl(); | 0 |
1647 | } | - |
1648 | QUrl that = *this; | - |
1649 | if (options & RemoveSchemeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 58 times by 1 test |
) | 8-58 |
1650 | that.setScheme(QString());executed 8 times by 1 test: that.setScheme(QString()); | 8 |
1651 | if ((TRUE | evaluated 8 times by 1 test | FALSE | evaluated 58 times by 1 test |
options & RemoveAuthority) == RemoveAuthorityTRUE | evaluated 8 times by 1 test | FALSE | evaluated 58 times by 1 test |
) { | 8-58 |
1652 | that.setAuthority(QString()); | - |
1653 | }executed 8 times by 1 test: end of block else { | 8 |
1654 | if ((TRUE | evaluated 3 times by 1 test | FALSE | evaluated 55 times by 1 test |
options & RemoveUserInfo) == RemoveUserInfoTRUE | evaluated 3 times by 1 test | FALSE | evaluated 55 times by 1 test |
) | 3-55 |
1655 | that.setUserInfo(QString());executed 3 times by 1 test: that.setUserInfo(QString()); | 3 |
1656 | else if (options & RemovePasswordTRUE | evaluated 5 times by 1 test | FALSE | evaluated 50 times by 1 test |
) | 5-50 |
1657 | that.setPassword(QString());executed 5 times by 1 test: that.setPassword(QString()); | 5 |
1658 | if (options & RemovePortTRUE | evaluated 4 times by 1 test | FALSE | evaluated 54 times by 1 test |
) | 4-54 |
1659 | that.setPort(-1);executed 4 times by 1 test: that.setPort(-1); | 4 |
1660 | }executed 58 times by 1 test: end of block | 58 |
1661 | if (options & RemoveQueryTRUE | evaluated 4 times by 1 test | FALSE | evaluated 62 times by 1 test |
) | 4-62 |
1662 | that.setQuery(QString());executed 4 times by 1 test: that.setQuery(QString()); | 4 |
1663 | if (options & RemoveFragmentTRUE | evaluated 4 times by 1 test | FALSE | evaluated 62 times by 1 test |
) | 4-62 |
1664 | that.setFragment(QString());executed 4 times by 1 test: that.setFragment(QString()); | 4 |
1665 | if (options & RemovePathTRUE | evaluated 4 times by 1 test | FALSE | evaluated 62 times by 1 test |
) { | 4-62 |
1666 | that.setPath(QString()); | - |
1667 | }executed 4 times by 1 test: end of block else if (options & (StripTrailingSlash | RemoveFilename | NormalizePathSegments)TRUE | evaluated 40 times by 1 test | FALSE | evaluated 22 times by 1 test |
) { | 4-40 |
1668 | that.detach(); | - |
1669 | QString path; | - |
1670 | d->appendPath(path, options | FullyEncoded, QUrlPrivate::Path); | - |
1671 | that.d->setPath(path, 0, path.length()); | - |
1672 | }executed 40 times by 1 test: end of block | 40 |
1673 | returnexecuted 66 times by 1 test: return that; that;executed 66 times by 1 test: return that; | 66 |
1674 | } | - |
1675 | QByteArray QUrl::toEncoded(FormattingOptions options) const | - |
1676 | { | - |
1677 | options &= ~(FullyDecoded | FullyEncoded); | - |
1678 | QString stringForm = toString(options | FullyEncoded); | - |
1679 | returnexecuted 5103 times by 21 tests: return stringForm.toLatin1(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_selftests - unknown status
stringForm.toLatin1();executed 5103 times by 21 tests: return stringForm.toLatin1(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_QXmlInputSource
- tst_Spdy
- tst_selftests - unknown status
| 5103 |
1680 | } | - |
1681 | QUrl QUrl::fromEncoded(const QByteArray &input, ParsingMode mode) | - |
1682 | { | - |
1683 | returnexecuted 301 times by 6 tests: return QUrl(QString::fromUtf8(input.constData(), input.size()), mode); Executed by:- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
QUrl(QString::fromUtf8(input.constData(), input.size()), mode);executed 301 times by 6 tests: return QUrl(QString::fromUtf8(input.constData(), input.size()), mode); Executed by:- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QUrl
| 301 |
1684 | } | - |
1685 | | - |
1686 | | - |
1687 | | - |
1688 | | - |
1689 | | - |
1690 | QString QUrl::fromPercentEncoding(const QByteArray &input) | - |
1691 | { | - |
1692 | QByteArray ba = QByteArray::fromPercentEncoding(input); | - |
1693 | returnexecuted 39 times by 2 tests: return QString::fromUtf8(ba, ba.size()); QString::fromUtf8(ba, ba.size());executed 39 times by 2 tests: return QString::fromUtf8(ba, ba.size()); | 39 |
1694 | } | - |
1695 | QByteArray QUrl::toPercentEncoding(const QString &input, const QByteArray &exclude, const QByteArray &include) | - |
1696 | { | - |
1697 | returnexecuted 13 times by 1 test: return input.toUtf8().toPercentEncoding(exclude, include); input.toUtf8().toPercentEncoding(exclude, include);executed 13 times by 1 test: return input.toUtf8().toPercentEncoding(exclude, include); | 13 |
1698 | } | - |
1699 | QString QUrl::fromEncodedComponent_helper(const QByteArray &ba) | - |
1700 | { | - |
1701 | returnexecuted 34 times by 1 test: return qt_urlRecodeByteArray(ba); qt_urlRecodeByteArray(ba);executed 34 times by 1 test: return qt_urlRecodeByteArray(ba); | 34 |
1702 | } | - |
1703 | QString QUrl::fromAce(const QByteArray &domain) | - |
1704 | { | - |
1705 | returnexecuted 389 times by 8 tests: return qt_ACE_do(QString::fromLatin1(domain), NormalizeAce, ForbidLeadingDot ); Executed by:- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QUrl
- tst_QUrlInternal
qt_ACE_do(QString::fromLatin1(domain), NormalizeAce, ForbidLeadingDot );executed 389 times by 8 tests: return qt_ACE_do(QString::fromLatin1(domain), NormalizeAce, ForbidLeadingDot ); Executed by:- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QHostInfo
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkReply
- tst_QUrl
- tst_QUrlInternal
| 389 |
1706 | } | - |
1707 | QByteArray QUrl::toAce(const QString &domain) | - |
1708 | { | - |
1709 | QString result = qt_ACE_do(domain, ToAceOnly, ForbidLeadingDot ); | - |
1710 | returnexecuted 5865 times by 30 tests: return result.toLatin1(); Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- ...
result.toLatin1();executed 5865 times by 30 tests: return result.toLatin1(); Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_PlatformSocketEngine
- tst_QAbstractNetworkCache
- tst_QDnsLookup
- tst_QDnsLookup_Appless
- tst_QFtp
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCookie
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QProcess
- tst_QSocks5SocketEngine
- tst_QSslSocket
- tst_QSslSocket_onDemandCertificates_member
- tst_QSslSocket_onDemandCertificates_static
- tst_QTcpServer
- ...
| 5865 |
1711 | } | - |
1712 | | - |
1713 | | - |
1714 | | - |
1715 | | - |
1716 | | - |
1717 | | - |
1718 | | - |
1719 | bool QUrl::operator <(const QUrl &url) const | - |
1720 | { | - |
1721 | if (!dTRUE | evaluated 18 times by 1 test | FALSE | evaluated 155 times by 6 testsEvaluated by:- tst_QPlainTextEdit
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
|
|| !url.dTRUE | evaluated 8 times by 1 test | FALSE | evaluated 147 times by 6 testsEvaluated by:- tst_QPlainTextEdit
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
|
) { | 8-155 |
1722 | bool thisIsEmpty = !dTRUE | evaluated 18 times by 1 test | FALSE | evaluated 8 times by 1 test |
|| d->isEmpty()TRUE | evaluated 3 times by 1 test | FALSE | evaluated 5 times by 1 test |
; | 3-18 |
1723 | bool thatIsEmpty = !url.dTRUE | evaluated 17 times by 1 test | FALSE | evaluated 9 times by 1 test |
|| url.d->isEmpty()TRUE | evaluated 5 times by 1 test | FALSE | evaluated 4 times by 1 test |
; | 4-17 |
1724 | | - |
1725 | | - |
1726 | returnexecuted 26 times by 1 test: return thisIsEmpty && !thatIsEmpty; thisIsEmpty && !thatIsEmpty;executed 26 times by 1 test: return thisIsEmpty && !thatIsEmpty; | 26 |
1727 | } | - |
1728 | | - |
1729 | int cmp; | - |
1730 | cmp = d->scheme.compare(url.d->scheme); | - |
1731 | if (cmp != 0TRUE | evaluated 17 times by 1 test | FALSE | evaluated 130 times by 6 testsEvaluated by:- tst_QPlainTextEdit
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
|
) | 17-130 |
1732 | returnexecuted 17 times by 1 test: return cmp < 0; cmp < 0;executed 17 times by 1 test: return cmp < 0; | 17 |
1733 | | - |
1734 | cmp = d->userName.compare(url.d->userName); | - |
1735 | if (cmp != 0TRUE | never evaluated | FALSE | evaluated 130 times by 6 testsEvaluated by:- tst_QPlainTextEdit
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
|
) | 0-130 |
1736 | return never executed: return cmp < 0; cmp < 0;never executed: return cmp < 0; | 0 |
1737 | | - |
1738 | cmp = d->password.compare(url.d->password); | - |
1739 | if (cmp != 0TRUE | never evaluated | FALSE | evaluated 130 times by 6 testsEvaluated by:- tst_QPlainTextEdit
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
|
) | 0-130 |
1740 | return never executed: return cmp < 0; cmp < 0;never executed: return cmp < 0; | 0 |
1741 | | - |
1742 | cmp = d->host.compare(url.d->host); | - |
1743 | if (cmp != 0TRUE | never evaluated | FALSE | evaluated 130 times by 6 testsEvaluated by:- tst_QPlainTextEdit
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
|
) | 0-130 |
1744 | return never executed: return cmp < 0; cmp < 0;never executed: return cmp < 0; | 0 |
1745 | | - |
1746 | if (d->port != url.d->portTRUE | evaluated 8 times by 1 test | FALSE | evaluated 122 times by 6 testsEvaluated by:- tst_QPlainTextEdit
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
|
) | 8-122 |
1747 | returnexecuted 8 times by 1 test: return d->port < url.d->port; d->port < url.d->port;executed 8 times by 1 test: return d->port < url.d->port; | 8 |
1748 | | - |
1749 | cmp = d->path.compare(url.d->path); | - |
1750 | if (cmp != 0TRUE | evaluated 21 times by 3 testsEvaluated by:- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
| FALSE | evaluated 101 times by 6 testsEvaluated by:- tst_QPlainTextEdit
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
|
) | 21-101 |
1751 | returnexecuted 21 times by 3 tests: return cmp < 0; Executed by:- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
cmp < 0;executed 21 times by 3 tests: return cmp < 0; Executed by:- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QUrl
| 21 |
1752 | | - |
1753 | if (d->hasQuery() != url.d->hasQuery()TRUE | evaluated 8 times by 1 test | FALSE | evaluated 93 times by 6 testsEvaluated by:- tst_QPlainTextEdit
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
|
) | 8-93 |
1754 | returnexecuted 8 times by 1 test: return url.d->hasQuery(); url.d->hasQuery();executed 8 times by 1 test: return url.d->hasQuery(); | 8 |
1755 | | - |
1756 | cmp = d->query.compare(url.d->query); | - |
1757 | if (cmp != 0TRUE | evaluated 1 time by 1 test | FALSE | evaluated 92 times by 6 testsEvaluated by:- tst_QPlainTextEdit
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
|
) | 1-92 |
1758 | returnexecuted 1 time by 1 test: return cmp < 0; cmp < 0;executed 1 time by 1 test: return cmp < 0; | 1 |
1759 | | - |
1760 | if (d->hasFragment() != url.d->hasFragment()TRUE | evaluated 8 times by 1 test | FALSE | evaluated 84 times by 6 testsEvaluated by:- tst_QPlainTextEdit
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
|
) | 8-84 |
1761 | returnexecuted 8 times by 1 test: return url.d->hasFragment(); url.d->hasFragment();executed 8 times by 1 test: return url.d->hasFragment(); | 8 |
1762 | | - |
1763 | cmp = d->fragment.compare(url.d->fragment); | - |
1764 | returnexecuted 84 times by 6 tests: return cmp < 0; Executed by:- tst_QPlainTextEdit
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
cmp < 0;executed 84 times by 6 tests: return cmp < 0; Executed by:- tst_QPlainTextEdit
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextDocumentLayout
- tst_QTextEdit
- tst_QUrl
| 84 |
1765 | } | - |
1766 | | - |
1767 | | - |
1768 | | - |
1769 | | - |
1770 | | - |
1771 | bool QUrl::operator ==(const QUrl &url) const | - |
1772 | { | - |
1773 | if (!dTRUE | evaluated 277 times by 9 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextDocument
- tst_QUrl
- tst_selftests - unknown status
| FALSE | evaluated 3019 times by 20 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_languageChange
- tst_selftests - unknown status
|
&& !url.dTRUE | evaluated 133 times by 9 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextDocument
- tst_QUrl
- tst_selftests - unknown status
| FALSE | evaluated 144 times by 7 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTextDocument
- tst_QUrl
- tst_selftests - unknown status
|
) | 133-3019 |
1774 | returnexecuted 133 times by 9 tests: return true; Executed by:- tst_QAbstractNetworkCache
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextDocument
- tst_QUrl
- tst_selftests - unknown status
true;executed 133 times by 9 tests: return true; Executed by:- tst_QAbstractNetworkCache
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextDocument
- tst_QUrl
- tst_selftests - unknown status
| 133 |
1775 | if (!dTRUE | evaluated 144 times by 7 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTextDocument
- tst_QUrl
- tst_selftests - unknown status
| FALSE | evaluated 3019 times by 20 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_languageChange
- tst_selftests - unknown status
|
) | 144-3019 |
1776 | returnexecuted 144 times by 7 tests: return url.d->isEmpty(); Executed by:- tst_QAbstractNetworkCache
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTextDocument
- tst_QUrl
- tst_selftests - unknown status
url.d->isEmpty();executed 144 times by 7 tests: return url.d->isEmpty(); Executed by:- tst_QAbstractNetworkCache
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QTextDocument
- tst_QUrl
- tst_selftests - unknown status
| 144 |
1777 | if (!url.dTRUE | evaluated 375 times by 7 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
- tst_selftests - unknown status
| FALSE | evaluated 2644 times by 20 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_languageChange
- tst_selftests - unknown status
|
) | 375-2644 |
1778 | returnexecuted 375 times by 7 tests: return d->isEmpty(); Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
- tst_selftests - unknown status
d->isEmpty();executed 375 times by 7 tests: return d->isEmpty(); Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
- tst_selftests - unknown status
| 375 |
1779 | | - |
1780 | | - |
1781 | | - |
1782 | | - |
1783 | | - |
1784 | int mask = QUrlPrivate::FullUrl; | - |
1785 | if (isLocalFile()TRUE | evaluated 1968 times by 10 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_languageChange
| FALSE | evaluated 676 times by 15 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileSelector
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_selftests - unknown status
|
) | 676-1968 |
1786 | mask &= ~QUrlPrivate::Host;executed 1968 times by 10 tests: mask &= ~QUrlPrivate::Host; Executed by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_languageChange
| 1968 |
1787 | returnexecuted 2644 times by 20 tests: return (d->sectionIsPresent & mask) == (url.d->sectionIsPresent & mask) && d->scheme == url.d->scheme && d->userName == url.d->userName && d->password == url.d->password && d->host == url.d->host && d->port == url.d->port && d->path == url.d->path && d->query == url.d->query && d->fragment == url.d->fragment; Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_languageChange
- tst_selftests - unknown status
(d->sectionIsPresent & mask) == (url.d->sectionIsPresent & mask) &&executed 2644 times by 20 tests: return (d->sectionIsPresent & mask) == (url.d->sectionIsPresent & mask) && d->scheme == url.d->scheme && d->userName == url.d->userName && d->password == url.d->password && d->host == url.d->host && d->port == url.d->port && d->path == url.d->path && d->query == url.d->query && d->fragment == url.d->fragment; Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_languageChange
- tst_selftests - unknown status
| 2644 |
1788 | d->scheme == url.d->scheme &&executed 2644 times by 20 tests: return (d->sectionIsPresent & mask) == (url.d->sectionIsPresent & mask) && d->scheme == url.d->scheme && d->userName == url.d->userName && d->password == url.d->password && d->host == url.d->host && d->port == url.d->port && d->path == url.d->path && d->query == url.d->query && d->fragment == url.d->fragment; Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_languageChange
- tst_selftests - unknown status
| 2644 |
1789 | d->userName == url.d->userName &&executed 2644 times by 20 tests: return (d->sectionIsPresent & mask) == (url.d->sectionIsPresent & mask) && d->scheme == url.d->scheme && d->userName == url.d->userName && d->password == url.d->password && d->host == url.d->host && d->port == url.d->port && d->path == url.d->path && d->query == url.d->query && d->fragment == url.d->fragment; Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_languageChange
- tst_selftests - unknown status
| 2644 |
1790 | d->password == url.d->password &&executed 2644 times by 20 tests: return (d->sectionIsPresent & mask) == (url.d->sectionIsPresent & mask) && d->scheme == url.d->scheme && d->userName == url.d->userName && d->password == url.d->password && d->host == url.d->host && d->port == url.d->port && d->path == url.d->path && d->query == url.d->query && d->fragment == url.d->fragment; Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_languageChange
- tst_selftests - unknown status
| 2644 |
1791 | d->host == url.d->host &&executed 2644 times by 20 tests: return (d->sectionIsPresent & mask) == (url.d->sectionIsPresent & mask) && d->scheme == url.d->scheme && d->userName == url.d->userName && d->password == url.d->password && d->host == url.d->host && d->port == url.d->port && d->path == url.d->path && d->query == url.d->query && d->fragment == url.d->fragment; Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_languageChange
- tst_selftests - unknown status
| 2644 |
1792 | d->port == url.d->port &&executed 2644 times by 20 tests: return (d->sectionIsPresent & mask) == (url.d->sectionIsPresent & mask) && d->scheme == url.d->scheme && d->userName == url.d->userName && d->password == url.d->password && d->host == url.d->host && d->port == url.d->port && d->path == url.d->path && d->query == url.d->query && d->fragment == url.d->fragment; Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_languageChange
- tst_selftests - unknown status
| 2644 |
1793 | d->path == url.d->path &&executed 2644 times by 20 tests: return (d->sectionIsPresent & mask) == (url.d->sectionIsPresent & mask) && d->scheme == url.d->scheme && d->userName == url.d->userName && d->password == url.d->password && d->host == url.d->host && d->port == url.d->port && d->path == url.d->path && d->query == url.d->query && d->fragment == url.d->fragment; Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_languageChange
- tst_selftests - unknown status
| 2644 |
1794 | d->query == url.d->query &&executed 2644 times by 20 tests: return (d->sectionIsPresent & mask) == (url.d->sectionIsPresent & mask) && d->scheme == url.d->scheme && d->userName == url.d->userName && d->password == url.d->password && d->host == url.d->host && d->port == url.d->port && d->path == url.d->path && d->query == url.d->query && d->fragment == url.d->fragment; Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_languageChange
- tst_selftests - unknown status
| 2644 |
1795 | d->fragment == url.d->fragment;executed 2644 times by 20 tests: return (d->sectionIsPresent & mask) == (url.d->sectionIsPresent & mask) && d->scheme == url.d->scheme && d->userName == url.d->userName && d->password == url.d->password && d->host == url.d->host && d->port == url.d->port && d->path == url.d->path && d->query == url.d->query && d->fragment == url.d->fragment; Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QMetaType
- tst_QMimeData
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QSidebar
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QVariant
- tst_languageChange
- tst_selftests - unknown status
| 2644 |
1796 | } | - |
1797 | bool QUrl::matches(const QUrl &url, FormattingOptions options) const | - |
1798 | { | - |
1799 | if (!dTRUE | never evaluated | FALSE | evaluated 34 times by 1 test |
&& !url.dTRUE | never evaluated | FALSE | never evaluated |
) | 0-34 |
1800 | return never executed: return true; true;never executed: return true; | 0 |
1801 | if (!dTRUE | never evaluated | FALSE | evaluated 34 times by 1 test |
) | 0-34 |
1802 | return never executed: return url.d->isEmpty(); url.d->isEmpty();never executed: return url.d->isEmpty(); | 0 |
1803 | if (!url.dTRUE | never evaluated | FALSE | evaluated 34 times by 1 test |
) | 0-34 |
1804 | return never executed: return d->isEmpty(); d->isEmpty();never executed: return d->isEmpty(); | 0 |
1805 | | - |
1806 | | - |
1807 | | - |
1808 | | - |
1809 | | - |
1810 | int mask = QUrlPrivate::FullUrl; | - |
1811 | if (isLocalFile()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 32 times by 1 test |
) | 2-32 |
1812 | mask &= ~QUrlPrivate::Host;executed 2 times by 1 test: mask &= ~QUrlPrivate::Host; | 2 |
1813 | | - |
1814 | if (options & QUrl::RemoveSchemeTRUE | never evaluated | FALSE | evaluated 34 times by 1 test |
) | 0-34 |
1815 | mask &= ~QUrlPrivate::Scheme; never executed: mask &= ~QUrlPrivate::Scheme; | 0 |
1816 | else if (d->scheme != url.d->schemeTRUE | never evaluated | FALSE | evaluated 34 times by 1 test |
) | 0-34 |
1817 | return never executed: return false; false;never executed: return false; | 0 |
1818 | | - |
1819 | if (options & QUrl::RemovePasswordTRUE | evaluated 10 times by 1 test | FALSE | evaluated 24 times by 1 test |
) | 10-24 |
1820 | mask &= ~QUrlPrivate::Password;executed 10 times by 1 test: mask &= ~QUrlPrivate::Password; | 10 |
1821 | else if (d->password != url.d->passwordTRUE | evaluated 1 time by 1 test | FALSE | evaluated 23 times by 1 test |
) | 1-23 |
1822 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
1823 | | - |
1824 | if (options & QUrl::RemoveUserInfoTRUE | evaluated 10 times by 1 test | FALSE | evaluated 23 times by 1 test |
) | 10-23 |
1825 | mask &= ~QUrlPrivate::UserName;executed 10 times by 1 test: mask &= ~QUrlPrivate::UserName; | 10 |
1826 | else if (d->userName != url.d->userNameTRUE | never evaluated | FALSE | evaluated 23 times by 1 test |
) | 0-23 |
1827 | return never executed: return false; false;never executed: return false; | 0 |
1828 | | - |
1829 | if (options & QUrl::RemovePortTRUE | evaluated 8 times by 1 test | FALSE | evaluated 25 times by 1 test |
) | 8-25 |
1830 | mask &= ~QUrlPrivate::Port;executed 8 times by 1 test: mask &= ~QUrlPrivate::Port; | 8 |
1831 | else if (d->port != url.d->portTRUE | never evaluated | FALSE | evaluated 25 times by 1 test |
) | 0-25 |
1832 | return never executed: return false; false;never executed: return false; | 0 |
1833 | | - |
1834 | if (options & QUrl::RemoveAuthorityTRUE | evaluated 10 times by 1 test | FALSE | evaluated 23 times by 1 test |
) | 10-23 |
1835 | mask &= ~QUrlPrivate::Host;executed 10 times by 1 test: mask &= ~QUrlPrivate::Host; | 10 |
1836 | else if (d->host != url.d->hostTRUE | evaluated 2 times by 1 test | FALSE | evaluated 21 times by 1 test |
) | 2-21 |
1837 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
1838 | | - |
1839 | if (options & QUrl::RemoveQueryTRUE | evaluated 4 times by 1 test | FALSE | evaluated 27 times by 1 test |
) | 4-27 |
1840 | mask &= ~QUrlPrivate::Query;executed 4 times by 1 test: mask &= ~QUrlPrivate::Query; | 4 |
1841 | else if (d->query != url.d->queryTRUE | evaluated 2 times by 1 test | FALSE | evaluated 25 times by 1 test |
) | 2-25 |
1842 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
1843 | | - |
1844 | if (options & QUrl::RemoveFragmentTRUE | evaluated 3 times by 1 test | FALSE | evaluated 26 times by 1 test |
) | 3-26 |
1845 | mask &= ~QUrlPrivate::Fragment;executed 3 times by 1 test: mask &= ~QUrlPrivate::Fragment; | 3 |
1846 | else if (d->fragment != url.d->fragmentTRUE | evaluated 1 time by 1 test | FALSE | evaluated 25 times by 1 test |
) | 1-25 |
1847 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
1848 | | - |
1849 | if ((TRUE | evaluated 1 time by 1 test | FALSE | evaluated 27 times by 1 test |
d->sectionIsPresent & mask) != (url.d->sectionIsPresent & mask)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 27 times by 1 test |
) | 1-27 |
1850 | returnexecuted 1 time by 1 test: return false; false;executed 1 time by 1 test: return false; | 1 |
1851 | | - |
1852 | if (options & QUrl::RemovePathTRUE | evaluated 5 times by 1 test | FALSE | evaluated 22 times by 1 test |
) | 5-22 |
1853 | returnexecuted 5 times by 1 test: return true; true;executed 5 times by 1 test: return true; | 5 |
1854 | | - |
1855 | | - |
1856 | QString path1; | - |
1857 | d->appendPath(path1, options, QUrlPrivate::Path); | - |
1858 | QString path2; | - |
1859 | url.d->appendPath(path2, options, QUrlPrivate::Path); | - |
1860 | returnexecuted 22 times by 1 test: return path1 == path2; path1 == path2;executed 22 times by 1 test: return path1 == path2; | 22 |
1861 | } | - |
1862 | | - |
1863 | | - |
1864 | | - |
1865 | | - |
1866 | | - |
1867 | bool QUrl::operator !=(const QUrl &url) const | - |
1868 | { | - |
1869 | returnexecuted 120 times by 4 tests: return !(*this == url); Executed by:- tst_QNetworkReply
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
!(*this == url);executed 120 times by 4 tests: return !(*this == url); Executed by:- tst_QNetworkReply
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
| 120 |
1870 | } | - |
1871 | | - |
1872 | | - |
1873 | | - |
1874 | | - |
1875 | QUrl &QUrl::operator =(const QUrl &url) | - |
1876 | { | - |
1877 | if (!dTRUE | evaluated 9279 times by 21 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
- tst_qdesktopservices
| FALSE | evaluated 2607 times by 7 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QTextBrowser
- tst_QXmlStream
- tst_languageChange
|
) { | 2607-9279 |
1878 | if (url.dTRUE | evaluated 7068 times by 20 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
- tst_qdesktopservices
| FALSE | evaluated 2211 times by 14 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFiledialog
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
|
) { | 2211-7068 |
1879 | url.d->ref.ref(); | - |
1880 | d = url.d; | - |
1881 | }executed 7068 times by 20 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
- tst_qdesktopservices
| 7068 |
1882 | }executed 9279 times by 21 tests: end of block Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
- tst_qdesktopservices
else { | 9279 |
1883 | if (url.dTRUE | evaluated 2499 times by 7 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QTextBrowser
- tst_QXmlStream
- tst_languageChange
| FALSE | evaluated 108 times by 2 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
|
) | 108-2499 |
1884 | qAtomicAssign(d, url.d);executed 2499 times by 7 tests: qAtomicAssign(d, url.d); Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QTextBrowser
- tst_QXmlStream
- tst_languageChange
| 2499 |
1885 | else | - |
1886 | clear();executed 108 times by 2 tests: clear(); Executed by:- tst_QFileDialog2
- tst_QFiledialog
| 108 |
1887 | } | - |
1888 | returnexecuted 11886 times by 21 tests: return *this; Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
- tst_qdesktopservices
*this;executed 11886 times by 21 tests: return *this; Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QTextBrowser
- tst_QTextDocument
- tst_QUrl
- tst_QXmlInputSource
- tst_QXmlStream
- tst_Spdy
- tst_languageChange
- tst_qdesktopservices
| 11886 |
1889 | } | - |
1890 | | - |
1891 | | - |
1892 | | - |
1893 | | - |
1894 | QUrl &QUrl::operator =(const QString &url) | - |
1895 | { | - |
1896 | if (url.isEmpty()TRUE | never evaluated | FALSE | evaluated 10 times by 1 test |
) { | 0-10 |
1897 | clear(); | - |
1898 | } never executed: end of block else { | 0 |
1899 | detach(); | - |
1900 | d->parse(url, TolerantMode); | - |
1901 | }executed 10 times by 1 test: end of block | 10 |
1902 | returnexecuted 10 times by 1 test: return *this; *this;executed 10 times by 1 test: return *this; | 10 |
1903 | } | - |
1904 | void QUrl::detach() | - |
1905 | { | - |
1906 | if (!dTRUE | evaluated 20881 times by 55 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- ...
| FALSE | evaluated 28079 times by 46 testsEvaluated by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QMetaType
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- ...
|
) | 20881-28079 |
1907 | d = new QUrlPrivate;executed 20881 times by 55 tests: d = new QUrlPrivate; Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- ...
| 20881 |
1908 | else | - |
1909 | qAtomicDetach(d);executed 28079 times by 46 tests: qAtomicDetach(d); Executed by:- tst_Lancelot
- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QEventLoop
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QFtp
- tst_QGraphicsProxyWidget
- tst_QGuiEventLoop
- tst_QHostInfo
- tst_QHttpNetworkConnection
- tst_QHttpSocketEngine
- tst_QIODevice
- tst_QImageReader
- tst_QMetaType
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkInterface
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QObject
- tst_QPlainTextEdit
- ...
| 28079 |
1910 | } | - |
1911 | | - |
1912 | | - |
1913 | | - |
1914 | | - |
1915 | bool QUrl::isDetached() const | - |
1916 | { | - |
1917 | return never executed: return !d || d->ref.load() == 1; !d || d->ref.load() == 1;never executed: return !d || d->ref.load() == 1; | 0 |
1918 | } | - |
1919 | QUrl QUrl::fromLocalFile(const QString &localFile) | - |
1920 | { | - |
1921 | QUrl url; | - |
1922 | if (localFile.isEmpty()TRUE | evaluated 209 times by 4 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QUrl
- tst_languageChange
| FALSE | evaluated 5328 times by 11 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- tst_qfileopenevent
|
) | 209-5328 |
1923 | returnexecuted 209 times by 4 tests: return url; Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QUrl
- tst_languageChange
url;executed 209 times by 4 tests: return url; Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QUrl
- tst_languageChange
| 209 |
1924 | QString scheme = fileScheme(); | - |
1925 | QString deslashified = QDir::fromNativeSeparators(localFile); | - |
1926 | | - |
1927 | | - |
1928 | if (deslashified.length() > 1TRUE | evaluated 5263 times by 11 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- tst_qfileopenevent
| FALSE | evaluated 65 times by 4 testsEvaluated by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QSidebar
- tst_QUrl
|
&& deslashified.at(1) == QLatin1Char(':')TRUE | evaluated 1 time by 1 test | FALSE | evaluated 5262 times by 11 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- tst_qfileopenevent
|
&& deslashified.at(0) != QLatin1Char('/')TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
) { | 0-5263 |
1929 | deslashified.prepend(QLatin1Char('/')); | - |
1930 | }executed 1 time by 1 test: end of block else if (deslashified.startsWith(QLatin1String("//"))TRUE | evaluated 4 times by 1 test | FALSE | evaluated 5323 times by 11 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- tst_qfileopenevent
|
) { | 1-5323 |
1931 | | - |
1932 | int indexOfPath = deslashified.indexOf(QLatin1Char('/'), 2); | - |
1933 | QString hostSpec = deslashified.mid(2, indexOfPath - 2); | - |
1934 | | - |
1935 | if (hostSpec.endsWith(webDavSslTag(), Qt::CaseInsensitive)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3 times by 1 test |
) { | 1-3 |
1936 | hostSpec.chop(4); | - |
1937 | scheme = webDavScheme(); | - |
1938 | }executed 1 time by 1 test: end of block | 1 |
1939 | url.setHost(hostSpec); | - |
1940 | | - |
1941 | if (indexOfPath > 2TRUE | evaluated 3 times by 1 test | FALSE | evaluated 1 time by 1 test |
) | 1-3 |
1942 | deslashified = deslashified.right(deslashified.length() - indexOfPath);executed 3 times by 1 test: deslashified = deslashified.right(deslashified.length() - indexOfPath); | 3 |
1943 | else | - |
1944 | deslashified.clear();executed 1 time by 1 test: deslashified.clear(); | 1 |
1945 | } | - |
1946 | | - |
1947 | url.setScheme(scheme); | - |
1948 | url.setPath(deslashified, DecodedMode); | - |
1949 | returnexecuted 5328 times by 11 tests: return url; Executed by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- tst_qfileopenevent
url;executed 5328 times by 11 tests: return url; Executed by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QSidebar
- tst_QTextBrowser
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- tst_qfileopenevent
| 5328 |
1950 | } | - |
1951 | QString QUrl::toLocalFile() const | - |
1952 | { | - |
1953 | | - |
1954 | if (!isLocalFile()TRUE | evaluated 1120 times by 8 testsEvaluated by:- tst_QFiledialog
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
| FALSE | evaluated 10627 times by 15 testsEvaluated by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- tst_qfileopenevent
|
) | 1120-10627 |
1955 | returnexecuted 1120 times by 8 tests: return QString(); Executed by:- tst_QFiledialog
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
QString();executed 1120 times by 8 tests: return QString(); Executed by:- tst_QFiledialog
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
| 1120 |
1956 | | - |
1957 | returnexecuted 10627 times by 15 tests: return d->toLocalFile(QUrl::FullyDecoded); Executed by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- tst_qfileopenevent
d->toLocalFile(QUrl::FullyDecoded);executed 10627 times by 15 tests: return d->toLocalFile(QUrl::FullyDecoded); Executed by:- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QNetworkReply
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTextBrowser
- tst_QTextDocument
- tst_QTextDocumentFragment
- tst_QTextEdit
- tst_QUrl
- tst_QXmlStream
- tst_languageChange
- tst_qfileopenevent
| 10627 |
1958 | } | - |
1959 | bool QUrl::isLocalFile() const | - |
1960 | { | - |
1961 | returnexecuted 21421 times by 35 tests: return d && d->isLocalFile(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- ...
d && d->isLocalFile();executed 21421 times by 35 tests: return d && d->isLocalFile(); Executed by:- tst_NetworkSelfTest
- tst_QAbstractNetworkCache
- tst_QDataUrl
- tst_QFileDialog2
- tst_QFileSelector
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHttpNetworkConnection
- tst_QMetaType
- tst_QMimeData
- tst_QMimeDatabase
- tst_QNetworkAccessManager
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QNetworkCacheMetaData
- tst_QNetworkCookieJar
- tst_QNetworkDiskCache
- tst_QNetworkProxyFactory
- tst_QNetworkReply
- tst_QNetworkRequest
- tst_QPlainTextEdit
- tst_QSidebar
- tst_QTcpServer
- tst_QTcpSocket
- tst_QTextBrowser
- tst_QTextDocument
- ...
| 21421 |
1962 | } | - |
1963 | | - |
1964 | | - |
1965 | | - |
1966 | | - |
1967 | | - |
1968 | | - |
1969 | bool QUrl::isParentOf(const QUrl &childUrl) const | - |
1970 | { | - |
1971 | QString childPath = childUrl.path(); | - |
1972 | | - |
1973 | if (!dTRUE | never evaluated | FALSE | evaluated 5 times by 1 test |
) | 0-5 |
1974 | return never executed: return ((childUrl.scheme().isEmpty()) && (childUrl.authority().isEmpty()) && childPath.length() > 0 && childPath.at(0) == QLatin1Char('/')); ((childUrl.scheme().isEmpty())never executed: return ((childUrl.scheme().isEmpty()) && (childUrl.authority().isEmpty()) && childPath.length() > 0 && childPath.at(0) == QLatin1Char('/')); | 0 |
1975 | && (childUrl.authority().isEmpty()) never executed: return ((childUrl.scheme().isEmpty()) && (childUrl.authority().isEmpty()) && childPath.length() > 0 && childPath.at(0) == QLatin1Char('/')); | 0 |
1976 | && childPath.length() > 0 && childPath.at(0) == QLatin1Char('/')); never executed: return ((childUrl.scheme().isEmpty()) && (childUrl.authority().isEmpty()) && childPath.length() > 0 && childPath.at(0) == QLatin1Char('/')); | 0 |
1977 | | - |
1978 | QString ourPath = path(); | - |
1979 | | - |
1980 | returnexecuted 5 times by 1 test: return ((childUrl.scheme().isEmpty() || d->scheme == childUrl.scheme()) && (childUrl.authority().isEmpty() || authority() == childUrl.authority()) && childPath.startsWith(ourPath) && ((ourPath.endsWith(QLatin1Char('/')) && childPath.length() > ourPath.length()) || (!ourPath.endsWith(QLatin1Char('/')) && childPath.length() > ourPath.length() && childPath.at(ourPath.length()) == QLatin1Char('/')))); ((childUrl.scheme().isEmpty() || d->scheme == childUrl.scheme())executed 5 times by 1 test: return ((childUrl.scheme().isEmpty() || d->scheme == childUrl.scheme()) && (childUrl.authority().isEmpty() || authority() == childUrl.authority()) && childPath.startsWith(ourPath) && ((ourPath.endsWith(QLatin1Char('/')) && childPath.length() > ourPath.length()) || (!ourPath.endsWith(QLatin1Char('/')) && childPath.length() > ourPath.length() && childPath.at(ourPath.length()) == QLatin1Char('/')))); | 5 |
1981 | && (childUrl.authority().isEmpty() || authority() == childUrl.authority())executed 5 times by 1 test: return ((childUrl.scheme().isEmpty() || d->scheme == childUrl.scheme()) && (childUrl.authority().isEmpty() || authority() == childUrl.authority()) && childPath.startsWith(ourPath) && ((ourPath.endsWith(QLatin1Char('/')) && childPath.length() > ourPath.length()) || (!ourPath.endsWith(QLatin1Char('/')) && childPath.length() > ourPath.length() && childPath.at(ourPath.length()) == QLatin1Char('/')))); | 5 |
1982 | && childPath.startsWith(ourPath)executed 5 times by 1 test: return ((childUrl.scheme().isEmpty() || d->scheme == childUrl.scheme()) && (childUrl.authority().isEmpty() || authority() == childUrl.authority()) && childPath.startsWith(ourPath) && ((ourPath.endsWith(QLatin1Char('/')) && childPath.length() > ourPath.length()) || (!ourPath.endsWith(QLatin1Char('/')) && childPath.length() > ourPath.length() && childPath.at(ourPath.length()) == QLatin1Char('/')))); | 5 |
1983 | && ((ourPath.endsWith(QLatin1Char('/')) && childPath.length() > ourPath.length())executed 5 times by 1 test: return ((childUrl.scheme().isEmpty() || d->scheme == childUrl.scheme()) && (childUrl.authority().isEmpty() || authority() == childUrl.authority()) && childPath.startsWith(ourPath) && ((ourPath.endsWith(QLatin1Char('/')) && childPath.length() > ourPath.length()) || (!ourPath.endsWith(QLatin1Char('/')) && childPath.length() > ourPath.length() && childPath.at(ourPath.length()) == QLatin1Char('/')))); | 5 |
1984 | || (!ourPath.endsWith(QLatin1Char('/'))executed 5 times by 1 test: return ((childUrl.scheme().isEmpty() || d->scheme == childUrl.scheme()) && (childUrl.authority().isEmpty() || authority() == childUrl.authority()) && childPath.startsWith(ourPath) && ((ourPath.endsWith(QLatin1Char('/')) && childPath.length() > ourPath.length()) || (!ourPath.endsWith(QLatin1Char('/')) && childPath.length() > ourPath.length() && childPath.at(ourPath.length()) == QLatin1Char('/')))); | 5 |
1985 | && childPath.length() > ourPath.length() && childPath.at(ourPath.length()) == QLatin1Char('/'))));executed 5 times by 1 test: return ((childUrl.scheme().isEmpty() || d->scheme == childUrl.scheme()) && (childUrl.authority().isEmpty() || authority() == childUrl.authority()) && childPath.startsWith(ourPath) && ((ourPath.endsWith(QLatin1Char('/')) && childPath.length() > ourPath.length()) || (!ourPath.endsWith(QLatin1Char('/')) && childPath.length() > ourPath.length() && childPath.at(ourPath.length()) == QLatin1Char('/')))); | 5 |
1986 | } | - |
1987 | QDataStream &operator<<(QDataStream &out, const QUrl &url) | - |
1988 | { | - |
1989 | QByteArray u; | - |
1990 | if (url.isValid()TRUE | evaluated 102 times by 6 testsEvaluated by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
| FALSE | evaluated 5 times by 3 testsEvaluated by:- tst_QMetaType
- tst_QUrl
- tst_QVariant
|
) | 5-102 |
1991 | u = url.toEncoded();executed 102 times by 6 tests: u = url.toEncoded(); Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
| 102 |
1992 | out << u; | - |
1993 | returnexecuted 107 times by 8 tests: return out; Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
- tst_QVariant
out;executed 107 times by 8 tests: return out; Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
- tst_QVariant
| 107 |
1994 | } | - |
1995 | QDataStream &operator>>(QDataStream &in, QUrl &url) | - |
1996 | { | - |
1997 | QByteArray u; | - |
1998 | in >> u; | - |
1999 | url.setUrl(QString::fromLatin1(u)); | - |
2000 | returnexecuted 106 times by 8 tests: return in; Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
- tst_QVariant
in;executed 106 times by 8 tests: return in; Executed by:- tst_QAbstractNetworkCache
- tst_QFileDialog2
- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkDiskCache
- tst_QNetworkReply
- tst_QUrl
- tst_QVariant
| 106 |
2001 | } | - |
2002 | | - |
2003 | | - |
2004 | | - |
2005 | QDebug operator<<(QDebug d, const QUrl &url) | - |
2006 | { | - |
2007 | QDebugStateSaver saver(d); | - |
2008 | d.nospace() << "QUrl(" << url.toDisplayString() << ')'; | - |
2009 | returnexecuted 217 times by 2 tests: return d; Executed by:- tst_QNetworkReply
- tst_QVariant
d;executed 217 times by 2 tests: return d; Executed by:- tst_QNetworkReply
- tst_QVariant
| 217 |
2010 | } | - |
2011 | | - |
2012 | | - |
2013 | static QString errorMessage(QUrlPrivate::ErrorCode errorCode, const QString &errorSource, int errorPosition) | - |
2014 | { | - |
2015 | QChar c = uint(errorPosition) < uint(errorSource.length())TRUE | evaluated 108 times by 1 test | FALSE | evaluated 94 times by 1 test |
? | 94-108 |
2016 | errorSource.at(errorPosition) : QChar(QChar::Null); | - |
2017 | | - |
2018 | switch (errorCode) { | - |
2019 | case never executed: case QUrlPrivate::NoError: QUrlPrivate::NoError:never executed: case QUrlPrivate::NoError: | 0 |
2020 | ((!(false)) ? qt_assert_x("QUrl::errorString", "Impossible: QUrl::errorString should have treated this condition", | - |
2021 | __FILE__ | - |
2022 | , | - |
2023 | 3955 | - |
2024 | ) : qt_noop()) | - |
2025 | ; | - |
2026 | do { ((!(false)) ? qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached",__FILE__,3956) : qt_noop()); __builtin_unreachable(); } while (0); | - |
2027 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
2028 | | - |
2029 | case never executed: case QUrlPrivate::InvalidSchemeError: QUrlPrivate::InvalidSchemeError:never executed: case QUrlPrivate::InvalidSchemeError: { | 0 |
2030 | QString msg = ([]() -> QString { enum { Size = sizeof(u"" "Invalid scheme (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid scheme (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return never executed: return qstring_literal_temp; qstring_literal_temp;never executed: return qstring_literal_temp; }()); | 0 |
2031 | return never executed: return msg.arg(c); msg.arg(c);never executed: return msg.arg(c); | 0 |
2032 | } | - |
2033 | | - |
2034 | caseexecuted 10 times by 1 test: case QUrlPrivate::InvalidUserNameError: QUrlPrivate::InvalidUserNameError:executed 10 times by 1 test: case QUrlPrivate::InvalidUserNameError: | 10 |
2035 | returnexecuted 10 times by 1 test: return QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid user name (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid user name (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) .arg(c); QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid user name (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid user name (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 10 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 10 times by 1 test: return qstring_literal_temp; }()))executed 10 times by 1 test: return QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid user name (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid user name (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) .arg(c); | 10 |
2036 | .arg(c);executed 10 times by 1 test: return QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid user name (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid user name (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) .arg(c); | 10 |
2037 | | - |
2038 | caseexecuted 5 times by 1 test: case QUrlPrivate::InvalidPasswordError: QUrlPrivate::InvalidPasswordError:executed 5 times by 1 test: case QUrlPrivate::InvalidPasswordError: | 5 |
2039 | returnexecuted 5 times by 1 test: return QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid password (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid password (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) .arg(c); QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid password (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid password (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 5 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 5 times by 1 test: return qstring_literal_temp; }()))executed 5 times by 1 test: return QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid password (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid password (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) .arg(c); | 5 |
2040 | .arg(c);executed 5 times by 1 test: return QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid password (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid password (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) .arg(c); | 5 |
2041 | | - |
2042 | caseexecuted 89 times by 1 test: case QUrlPrivate::InvalidRegNameError: QUrlPrivate::InvalidRegNameError:executed 89 times by 1 test: case QUrlPrivate::InvalidRegNameError: | 89 |
2043 | if (errorPosition != -1TRUE | never evaluated | FALSE | evaluated 89 times by 1 test |
) | 0-89 |
2044 | return never executed: return QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid hostname (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid hostname (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) .arg(c); QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid hostname (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid hostname (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnnever executed: return qstring_literal_temp; qstring_literal_temp;never executed: return qstring_literal_temp; }()))never executed: return QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid hostname (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid hostname (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) .arg(c); | 0 |
2045 | .arg(c); never executed: return QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid hostname (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid hostname (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) .arg(c); | 0 |
2046 | else | - |
2047 | returnexecuted 89 times by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "Invalid hostname (contains invalid characters)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid hostname (contains invalid characters)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); ([]() -> QString { enum { Size = sizeof(u"" "Invalid hostname (contains invalid characters)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid hostname (contains invalid characters)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 89 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 89 times by 1 test: return qstring_literal_temp; }());executed 89 times by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "Invalid hostname (contains invalid characters)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid hostname (contains invalid characters)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); | 89 |
2048 | case never executed: case QUrlPrivate::InvalidIPv4AddressError: QUrlPrivate::InvalidIPv4AddressError:never executed: case QUrlPrivate::InvalidIPv4AddressError: | 0 |
2049 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
2050 | caseexecuted 5 times by 1 test: case QUrlPrivate::InvalidIPv6AddressError: QUrlPrivate::InvalidIPv6AddressError:executed 5 times by 1 test: case QUrlPrivate::InvalidIPv6AddressError: | 5 |
2051 | returnexecuted 5 times by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "Invalid IPv6 address")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid IPv6 address" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); ([]() -> QString { enum { Size = sizeof(u"" "Invalid IPv6 address")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid IPv6 address" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 5 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 5 times by 1 test: return qstring_literal_temp; }());executed 5 times by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "Invalid IPv6 address")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid IPv6 address" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); | 5 |
2052 | caseexecuted 15 times by 1 test: case QUrlPrivate::InvalidCharacterInIPv6Error: QUrlPrivate::InvalidCharacterInIPv6Error:executed 15 times by 1 test: case QUrlPrivate::InvalidCharacterInIPv6Error: | 15 |
2053 | returnexecuted 15 times by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "Invalid IPv6 address (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid IPv6 address (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()).arg(c); ([]() -> QString { enum { Size = sizeof(u"" "Invalid IPv6 address (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid IPv6 address (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 15 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 15 times by 1 test: return qstring_literal_temp; }()).arg(c);executed 15 times by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "Invalid IPv6 address (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid IPv6 address (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()).arg(c); | 15 |
2054 | caseexecuted 25 times by 1 test: case QUrlPrivate::InvalidIPvFutureError: QUrlPrivate::InvalidIPvFutureError:executed 25 times by 1 test: case QUrlPrivate::InvalidIPvFutureError: | 25 |
2055 | returnexecuted 25 times by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "Invalid IPvFuture address (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid IPvFuture address (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()).arg(c); ([]() -> QString { enum { Size = sizeof(u"" "Invalid IPvFuture address (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid IPvFuture address (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 25 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 25 times by 1 test: return qstring_literal_temp; }()).arg(c);executed 25 times by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "Invalid IPvFuture address (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid IPvFuture address (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()).arg(c); | 25 |
2056 | caseexecuted 5 times by 1 test: case QUrlPrivate::HostMissingEndBracket: QUrlPrivate::HostMissingEndBracket:executed 5 times by 1 test: case QUrlPrivate::HostMissingEndBracket: | 5 |
2057 | returnexecuted 5 times by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "Expected ']' to match '[' in hostname")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Expected ']' to match '[' in hostname" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); ([]() -> QString { enum { Size = sizeof(u"" "Expected ']' to match '[' in hostname")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Expected ']' to match '[' in hostname" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 5 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 5 times by 1 test: return qstring_literal_temp; }());executed 5 times by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "Expected ']' to match '[' in hostname")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Expected ']' to match '[' in hostname" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); | 5 |
2058 | | - |
2059 | caseexecuted 21 times by 1 test: case QUrlPrivate::InvalidPortError: QUrlPrivate::InvalidPortError:executed 21 times by 1 test: case QUrlPrivate::InvalidPortError: | 21 |
2060 | returnexecuted 21 times by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "Invalid port or port number out of range")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid port or port number out of range" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); ([]() -> QString { enum { Size = sizeof(u"" "Invalid port or port number out of range")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid port or port number out of range" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 21 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 21 times by 1 test: return qstring_literal_temp; }());executed 21 times by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "Invalid port or port number out of range")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid port or port number out of range" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); | 21 |
2061 | case never executed: case QUrlPrivate::PortEmptyError: QUrlPrivate::PortEmptyError:never executed: case QUrlPrivate::PortEmptyError: | 0 |
2062 | return never executed: return ([]() -> QString { enum { Size = sizeof(u"" "Port field was empty")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Port field was empty" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); ([]() -> QString { enum { Size = sizeof(u"" "Port field was empty")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Port field was empty" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnnever executed: return qstring_literal_temp; qstring_literal_temp;never executed: return qstring_literal_temp; }());never executed: return ([]() -> QString { enum { Size = sizeof(u"" "Port field was empty")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Port field was empty" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); | 0 |
2063 | | - |
2064 | caseexecuted 10 times by 1 test: case QUrlPrivate::InvalidPathError: QUrlPrivate::InvalidPathError:executed 10 times by 1 test: case QUrlPrivate::InvalidPathError: | 10 |
2065 | returnexecuted 10 times by 1 test: return QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid path (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid path (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) .arg(c); QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid path (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid path (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 10 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 10 times by 1 test: return qstring_literal_temp; }()))executed 10 times by 1 test: return QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid path (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid path (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) .arg(c); | 10 |
2066 | .arg(c);executed 10 times by 1 test: return QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid path (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid path (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) .arg(c); | 10 |
2067 | | - |
2068 | caseexecuted 5 times by 1 test: case QUrlPrivate::InvalidQueryError: QUrlPrivate::InvalidQueryError:executed 5 times by 1 test: case QUrlPrivate::InvalidQueryError: | 5 |
2069 | returnexecuted 5 times by 1 test: return QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid query (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid query (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) .arg(c); QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid query (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid query (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 5 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 5 times by 1 test: return qstring_literal_temp; }()))executed 5 times by 1 test: return QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid query (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid query (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) .arg(c); | 5 |
2070 | .arg(c);executed 5 times by 1 test: return QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid query (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid query (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) .arg(c); | 5 |
2071 | | - |
2072 | caseexecuted 5 times by 1 test: case QUrlPrivate::InvalidFragmentError: QUrlPrivate::InvalidFragmentError:executed 5 times by 1 test: case QUrlPrivate::InvalidFragmentError: | 5 |
2073 | returnexecuted 5 times by 1 test: return QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid fragment (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid fragment (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) .arg(c); QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid fragment (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid fragment (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 5 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 5 times by 1 test: return qstring_literal_temp; }()))executed 5 times by 1 test: return QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid fragment (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid fragment (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) .arg(c); | 5 |
2074 | .arg(c);executed 5 times by 1 test: return QString(([]() -> QString { enum { Size = sizeof(u"" "Invalid fragment (character '%1' not permitted)")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Invalid fragment (character '%1' not permitted)" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }())) .arg(c); | 5 |
2075 | | - |
2076 | caseexecuted 1 time by 1 test: case QUrlPrivate::AuthorityPresentAndPathIsRelative: QUrlPrivate::AuthorityPresentAndPathIsRelative:executed 1 time by 1 test: case QUrlPrivate::AuthorityPresentAndPathIsRelative: | 1 |
2077 | returnexecuted 1 time by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "Path component is relative and authority is present")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Path component is relative and authority is present" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); ([]() -> QString { enum { Size = sizeof(u"" "Path component is relative and authority is present")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Path component is relative and authority is present" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 1 time by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 1 time by 1 test: return qstring_literal_temp; }());executed 1 time by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "Path component is relative and authority is present")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Path component is relative and authority is present" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); | 1 |
2078 | caseexecuted 6 times by 1 test: case QUrlPrivate::RelativeUrlPathContainsColonBeforeSlash: QUrlPrivate::RelativeUrlPathContainsColonBeforeSlash:executed 6 times by 1 test: case QUrlPrivate::RelativeUrlPathContainsColonBeforeSlash: | 6 |
2079 | returnexecuted 6 times by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "Relative URL's path component contains ':' before any '/'")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Relative URL's path component contains ':' before any '/'" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); ([]() -> QString { enum { Size = sizeof(u"" "Relative URL's path component contains ':' before any '/'")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Relative URL's path component contains ':' before any '/'" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 6 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 6 times by 1 test: return qstring_literal_temp; }());executed 6 times by 1 test: return ([]() -> QString { enum { Size = sizeof(u"" "Relative URL's path component contains ':' before any '/'")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "Relative URL's path component contains ':' before any '/'" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return qstring_literal_temp; }()); | 6 |
2080 | } | - |
2081 | | - |
2082 | ((!(false)) ? qt_assert_x("QUrl::errorString", "Cannot happen, unknown error",__FILE__,4012) : qt_noop()); | - |
2083 | do { ((!(false)) ? qt_assert_x("Q_UNREACHABLE()", "Q_UNREACHABLE was reached",__FILE__,4013) : qt_noop()); __builtin_unreachable(); } while (0); | - |
2084 | return never executed: return QString(); QString();never executed: return QString(); | 0 |
2085 | } | - |
2086 | | - |
2087 | static inline void appendComponentIfPresent(QString &msg, bool present, const char *componentName, | - |
2088 | const QString &component) | - |
2089 | { | - |
2090 | if (presentTRUE | evaluated 371 times by 1 test | FALSE | evaluated 1043 times by 1 test |
) { | 371-1043 |
2091 | msg += QLatin1String(componentName); | - |
2092 | msg += QLatin1Char('"'); | - |
2093 | msg += component; | - |
2094 | msg += QLatin1String("\","); | - |
2095 | }executed 371 times by 1 test: end of block | 371 |
2096 | }executed 1414 times by 1 test: end of block | 1414 |
2097 | QString QUrl::errorString() const | - |
2098 | { | - |
2099 | QString msg; | - |
2100 | if (!dTRUE | evaluated 130 times by 6 testsEvaluated by:- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkRequest
- tst_QTextDocument
- tst_QUrl
- tst_selftests - unknown status
| FALSE | evaluated 213 times by 2 testsEvaluated by:- tst_QNetworkCacheMetaData
- tst_QUrl
|
) | 130-213 |
2101 | returnexecuted 130 times by 6 tests: return msg; Executed by:- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkRequest
- tst_QTextDocument
- tst_QUrl
- tst_selftests - unknown status
msg;executed 130 times by 6 tests: return msg; Executed by:- tst_QMetaType
- tst_QNetworkCacheMetaData
- tst_QNetworkRequest
- tst_QTextDocument
- tst_QUrl
- tst_selftests - unknown status
| 130 |
2102 | | - |
2103 | QString errorSource; | - |
2104 | int errorPosition = 0; | - |
2105 | QUrlPrivate::ErrorCode errorCode = d->validityError(&errorSource, &errorPosition); | - |
2106 | if (errorCode == QUrlPrivate::NoErrorTRUE | evaluated 11 times by 2 testsEvaluated by:- tst_QNetworkCacheMetaData
- tst_QUrl
| FALSE | evaluated 202 times by 1 test |
) | 11-202 |
2107 | returnexecuted 11 times by 2 tests: return msg; Executed by:- tst_QNetworkCacheMetaData
- tst_QUrl
msg;executed 11 times by 2 tests: return msg; Executed by:- tst_QNetworkCacheMetaData
- tst_QUrl
| 11 |
2108 | | - |
2109 | msg += errorMessage(errorCode, errorSource, errorPosition); | - |
2110 | msg += QLatin1String("; source was \""); | - |
2111 | msg += errorSource; | - |
2112 | msg += QLatin1String("\";"); | - |
2113 | appendComponentIfPresent(msg, d->sectionIsPresent & QUrlPrivate::Scheme, | - |
2114 | " scheme = ", d->scheme); | - |
2115 | appendComponentIfPresent(msg, d->sectionIsPresent & QUrlPrivate::UserInfo, | - |
2116 | " userinfo = ", userInfo()); | - |
2117 | appendComponentIfPresent(msg, d->sectionIsPresent & QUrlPrivate::Host, | - |
2118 | " host = ", d->host); | - |
2119 | appendComponentIfPresent(msg, d->port != -1, | - |
2120 | " port = ", QString::number(d->port)); | - |
2121 | appendComponentIfPresent(msg, !d->path.isEmpty(), | - |
2122 | " path = ", d->path); | - |
2123 | appendComponentIfPresent(msg, d->sectionIsPresent & QUrlPrivate::Query, | - |
2124 | " query = ", d->query); | - |
2125 | appendComponentIfPresent(msg, d->sectionIsPresent & QUrlPrivate::Fragment, | - |
2126 | " fragment = ", d->fragment); | - |
2127 | if (msg.endsWith(QLatin1Char(','))TRUE | evaluated 201 times by 1 test | FALSE | evaluated 1 time by 1 test |
) | 1-201 |
2128 | msg.chop(1);executed 201 times by 1 test: msg.chop(1); | 201 |
2129 | returnexecuted 202 times by 1 test: return msg; msg;executed 202 times by 1 test: return msg; | 202 |
2130 | } | - |
2131 | | - |
2132 | | - |
2133 | | - |
2134 | | - |
2135 | | - |
2136 | | - |
2137 | QStringList QUrl::toStringList(const QList<QUrl> &urls, FormattingOptions options) | - |
2138 | { | - |
2139 | QStringList lst; | - |
2140 | lst.reserve(urls.size()); | - |
2141 | for (const QUrl &url : urls) | - |
2142 | lst.append(url.toString(options));executed 465 times by 5 tests: lst.append(url.toString(options)); Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QUrl
- tst_languageChange
| 465 |
2143 | returnexecuted 235 times by 5 tests: return lst; Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QUrl
- tst_languageChange
lst;executed 235 times by 5 tests: return lst; Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QUrl
- tst_languageChange
| 235 |
2144 | | - |
2145 | } | - |
2146 | | - |
2147 | | - |
2148 | | - |
2149 | | - |
2150 | | - |
2151 | | - |
2152 | | - |
2153 | QList<QUrl> QUrl::fromStringList(const QStringList &urls, ParsingMode mode) | - |
2154 | { | - |
2155 | QList<QUrl> lst; | - |
2156 | lst.reserve(urls.size()); | - |
2157 | for (const QString &str : urls) | - |
2158 | lst.append(QUrl(str, mode));executed 507 times by 5 tests: lst.append(QUrl(str, mode)); Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QUrl
- tst_languageChange
| 507 |
2159 | returnexecuted 255 times by 5 tests: return lst; Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QUrl
- tst_languageChange
lst;executed 255 times by 5 tests: return lst; Executed by:- tst_QFileDialog2
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QUrl
- tst_languageChange
| 255 |
2160 | } | - |
2161 | uint qHash(const QUrl &url, uint seed) noexcept | - |
2162 | { | - |
2163 | if (!url.dTRUE | evaluated 3 times by 1 test | FALSE | evaluated 7 times by 1 test |
) | 3-7 |
2164 | returnexecuted 3 times by 1 test: return qHash(-1, seed); qHash(-1, seed);executed 3 times by 1 test: return qHash(-1, seed); | 3 |
2165 | | - |
2166 | returnexecuted 7 times by 1 test: return qHash(url.d->scheme) ^ qHash(url.d->userName) ^ qHash(url.d->password) ^ qHash(url.d->host) ^ qHash(url.d->port, seed) ^ qHash(url.d->path) ^ qHash(url.d->query) ^ qHash(url.d->fragment); qHash(url.d->scheme) ^executed 7 times by 1 test: return qHash(url.d->scheme) ^ qHash(url.d->userName) ^ qHash(url.d->password) ^ qHash(url.d->host) ^ qHash(url.d->port, seed) ^ qHash(url.d->path) ^ qHash(url.d->query) ^ qHash(url.d->fragment); | 7 |
2167 | qHash(url.d->userName) ^executed 7 times by 1 test: return qHash(url.d->scheme) ^ qHash(url.d->userName) ^ qHash(url.d->password) ^ qHash(url.d->host) ^ qHash(url.d->port, seed) ^ qHash(url.d->path) ^ qHash(url.d->query) ^ qHash(url.d->fragment); | 7 |
2168 | qHash(url.d->password) ^executed 7 times by 1 test: return qHash(url.d->scheme) ^ qHash(url.d->userName) ^ qHash(url.d->password) ^ qHash(url.d->host) ^ qHash(url.d->port, seed) ^ qHash(url.d->path) ^ qHash(url.d->query) ^ qHash(url.d->fragment); | 7 |
2169 | qHash(url.d->host) ^executed 7 times by 1 test: return qHash(url.d->scheme) ^ qHash(url.d->userName) ^ qHash(url.d->password) ^ qHash(url.d->host) ^ qHash(url.d->port, seed) ^ qHash(url.d->path) ^ qHash(url.d->query) ^ qHash(url.d->fragment); | 7 |
2170 | qHash(url.d->port, seed) ^executed 7 times by 1 test: return qHash(url.d->scheme) ^ qHash(url.d->userName) ^ qHash(url.d->password) ^ qHash(url.d->host) ^ qHash(url.d->port, seed) ^ qHash(url.d->path) ^ qHash(url.d->query) ^ qHash(url.d->fragment); | 7 |
2171 | qHash(url.d->path) ^executed 7 times by 1 test: return qHash(url.d->scheme) ^ qHash(url.d->userName) ^ qHash(url.d->password) ^ qHash(url.d->host) ^ qHash(url.d->port, seed) ^ qHash(url.d->path) ^ qHash(url.d->query) ^ qHash(url.d->fragment); | 7 |
2172 | qHash(url.d->query) ^executed 7 times by 1 test: return qHash(url.d->scheme) ^ qHash(url.d->userName) ^ qHash(url.d->password) ^ qHash(url.d->host) ^ qHash(url.d->port, seed) ^ qHash(url.d->path) ^ qHash(url.d->query) ^ qHash(url.d->fragment); | 7 |
2173 | qHash(url.d->fragment);executed 7 times by 1 test: return qHash(url.d->scheme) ^ qHash(url.d->userName) ^ qHash(url.d->password) ^ qHash(url.d->host) ^ qHash(url.d->port, seed) ^ qHash(url.d->path) ^ qHash(url.d->query) ^ qHash(url.d->fragment); | 7 |
2174 | } | - |
2175 | | - |
2176 | static QUrl adjustFtpPath(QUrl url) | - |
2177 | { | - |
2178 | if (url.scheme() == ftpScheme()TRUE | evaluated 3 times by 1 test | FALSE | evaluated 31 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
|
) { | 3-31 |
2179 | QString path = url.path(QUrl::PrettyDecoded); | - |
2180 | if (path.startsWith(QLatin1String("//"))TRUE | evaluated 2 times by 1 test | FALSE | evaluated 1 time by 1 test |
) | 1-2 |
2181 | url.setPath(QLatin1String("/%2F") + path.midRef(2), QUrl::TolerantMode);executed 2 times by 1 test: url.setPath(QLatin1String("/%2F") + path.midRef(2), QUrl::TolerantMode); | 2 |
2182 | }executed 3 times by 1 test: end of block | 3 |
2183 | returnexecuted 34 times by 2 tests: return url; Executed by:- tst_QNetworkReply
- tst_QUrl
url;executed 34 times by 2 tests: return url; Executed by:- tst_QNetworkReply
- tst_QUrl
| 34 |
2184 | } | - |
2185 | | - |
2186 | static bool isIp6(const QString &text) | - |
2187 | { | - |
2188 | QIPAddressUtils::IPv6Address address; | - |
2189 | returnexecuted 104 times by 2 tests: return !text.isEmpty() && QIPAddressUtils::parseIp6(address, text.begin(), text.end()) == 0; Executed by:- tst_QNetworkReply
- tst_QUrl
!text.isEmpty() && QIPAddressUtils::parseIp6(address, text.begin(), text.end()) == 0;executed 104 times by 2 tests: return !text.isEmpty() && QIPAddressUtils::parseIp6(address, text.begin(), text.end()) == 0; Executed by:- tst_QNetworkReply
- tst_QUrl
| 104 |
2190 | } | - |
2191 | QUrl QUrl::fromUserInput(const QString &userInput, const QString &workingDirectory, | - |
2192 | UserInputResolutionOptions options) | - |
2193 | { | - |
2194 | QString trimmedString = userInput.trimmed(); | - |
2195 | | - |
2196 | if (trimmedString.isEmpty()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 44 times by 1 test |
) | 2-44 |
2197 | returnexecuted 2 times by 1 test: return QUrl(); QUrl();executed 2 times by 1 test: return QUrl(); | 2 |
2198 | | - |
2199 | | - |
2200 | | - |
2201 | | - |
2202 | if (isIp6(trimmedString)TRUE | evaluated 12 times by 1 test | FALSE | evaluated 32 times by 1 test |
) { | 12-32 |
2203 | QUrl url; | - |
2204 | url.setHost(trimmedString); | - |
2205 | url.setScheme(([]() -> QString { enum { Size = sizeof(u"" "http")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "http" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 12 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 12 times by 1 test: return qstring_literal_temp; }())); | 12 |
2206 | returnexecuted 12 times by 1 test: return url; url;executed 12 times by 1 test: return url; | 12 |
2207 | } | - |
2208 | | - |
2209 | QUrl url = QUrl(trimmedString, QUrl::TolerantMode); | - |
2210 | | - |
2211 | if (url.isRelative()TRUE | evaluated 30 times by 1 test | FALSE | evaluated 2 times by 1 test |
&& !QDir::isAbsolutePath(trimmedString)TRUE | evaluated 28 times by 1 test | FALSE | evaluated 2 times by 1 test |
) { | 2-30 |
2212 | QFileInfo fileInfo(QDir(workingDirectory), trimmedString); | - |
2213 | if ((options & AssumeLocalFile) || fileInfo.exists()TRUE | evaluated 11 times by 1 test | FALSE | evaluated 3 times by 1 test |
) | 3-11 |
2214 | returnexecuted 25 times by 1 test: return QUrl::fromLocalFile(fileInfo.absoluteFilePath()); QUrl::fromLocalFile(fileInfo.absoluteFilePath());executed 25 times by 1 test: return QUrl::fromLocalFile(fileInfo.absoluteFilePath()); | 25 |
2215 | }executed 3 times by 1 test: end of block | 3 |
2216 | | - |
2217 | returnexecuted 7 times by 1 test: return fromUserInput(trimmedString); fromUserInput(trimmedString);executed 7 times by 1 test: return fromUserInput(trimmedString); | 7 |
2218 | } | - |
2219 | QUrl QUrl::fromUserInput(const QString &userInput) | - |
2220 | { | - |
2221 | QString trimmedString = userInput.trimmed(); | - |
2222 | | - |
2223 | | - |
2224 | | - |
2225 | if (isIp6(trimmedString)TRUE | evaluated 6 times by 1 test | FALSE | evaluated 54 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
|
) { | 6-54 |
2226 | QUrl url; | - |
2227 | url.setHost(trimmedString); | - |
2228 | url.setScheme(([]() -> QString { enum { Size = sizeof(u"" "http")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "http" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 6 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 6 times by 1 test: return qstring_literal_temp; }())); | 6 |
2229 | returnexecuted 6 times by 1 test: return url; url;executed 6 times by 1 test: return url; | 6 |
2230 | } | - |
2231 | | - |
2232 | | - |
2233 | if (QDir::isAbsolutePath(trimmedString)TRUE | evaluated 19 times by 1 test | FALSE | evaluated 35 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
|
) | 19-35 |
2234 | returnexecuted 19 times by 1 test: return QUrl::fromLocalFile(trimmedString); QUrl::fromLocalFile(trimmedString);executed 19 times by 1 test: return QUrl::fromLocalFile(trimmedString); | 19 |
2235 | | - |
2236 | QUrl url = QUrl(trimmedString, QUrl::TolerantMode); | - |
2237 | QUrl urlPrepended = QUrl(QLatin1String("http://") + trimmedString, QUrl::TolerantMode); | - |
2238 | | - |
2239 | | - |
2240 | | - |
2241 | | - |
2242 | if (url.isValid()TRUE | evaluated 34 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
| FALSE | evaluated 1 time by 1 test |
| 1-34 |
2243 | && !url.scheme().isEmpty()TRUE | evaluated 18 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
| FALSE | evaluated 16 times by 1 test |
| 16-18 |
2244 | && urlPrepended.port() == -1TRUE | evaluated 15 times by 2 testsEvaluated by:- tst_QNetworkReply
- tst_QUrl
| FALSE | evaluated 3 times by 1 test |
) | 3-15 |
2245 | returnexecuted 15 times by 2 tests: return adjustFtpPath(url); Executed by:- tst_QNetworkReply
- tst_QUrl
adjustFtpPath(url);executed 15 times by 2 tests: return adjustFtpPath(url); Executed by:- tst_QNetworkReply
- tst_QUrl
| 15 |
2246 | | - |
2247 | | - |
2248 | if (urlPrepended.isValid()TRUE | evaluated 20 times by 1 test | FALSE | never evaluated |
&& (!urlPrepended.host().isEmpty()TRUE | evaluated 19 times by 1 test | FALSE | evaluated 1 time by 1 test |
|| !urlPrepended.path().isEmpty()TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
)) | 0-20 |
2249 | { | - |
2250 | int dotIndex = trimmedString.indexOf(QLatin1Char('.')); | - |
2251 | const QString hostscheme = trimmedString.left(dotIndex).toLower(); | - |
2252 | if (hostscheme == ftpScheme()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 17 times by 1 test |
) | 2-17 |
2253 | urlPrepended.setScheme(ftpScheme());executed 2 times by 1 test: urlPrepended.setScheme(ftpScheme()); | 2 |
2254 | returnexecuted 19 times by 1 test: return adjustFtpPath(urlPrepended); adjustFtpPath(urlPrepended);executed 19 times by 1 test: return adjustFtpPath(urlPrepended); | 19 |
2255 | } | - |
2256 | | - |
2257 | returnexecuted 1 time by 1 test: return QUrl(); QUrl();executed 1 time by 1 test: return QUrl(); | 1 |
2258 | } | - |
2259 | | - |
2260 | | - |
2261 | | - |
| | |