QtBase - 2016-12-13 07:58:44 +0000

Function Tree

Path:<top>::QHttpNetworkConnectionPrivate
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
QHttpNetworkConnectionPrivate
Name: QHttpNetworkConnectionPrivate::QHttpNetworkConnectionPrivate
Prototype: QHttpNetworkConnectionPrivate::QHttpNetworkConnectionPrivate(const QString &hostName, quint16 port, bool encrypt, QHttpNetworkConnection::ConnectionType type)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 78-96
100.000% (1/1)
11
QHttpNetworkConnectionPrivate
Name: QHttpNetworkConnectionPrivate::QHttpNetworkConnectionPrivate
Prototype: QHttpNetworkConnectionPrivate::QHttpNetworkConnectionPrivate(quint16 channelCount, const QString &hostName, quint16 port, bool encrypt, QHttpNetworkConnection::ConnectionType type)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 98-111
100.000% (1/1)
11
_q_connectDelayedChannel
Name: QHttpNetworkConnectionPrivate::_q_connectDelayedChannel
Prototype: void QHttpNetworkConnectionPrivate::_q_connectDelayedChannel()
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 1260-1266
  0.000% (0/4)
32
_q_hostLookupFinished
Name: QHttpNetworkConnectionPrivate::_q_hostLookupFinished
Prototype: void QHttpNetworkConnectionPrivate::_q_hostLookupFinished(const QHostInfo &info)
Coverage:  76.923% (30/39)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 1151-1206
 76.923% (30/39)
3613
_q_startNextRequest
Name: QHttpNetworkConnectionPrivate::_q_startNextRequest
Prototype: void QHttpNetworkConnectionPrivate::_q_startNextRequest()
Coverage:  86.726% (98/113)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 981-1091
 86.726% (98/113)
5929
copyCredentials
Name: QHttpNetworkConnectionPrivate::copyCredentials
Prototype: void QHttpNetworkConnectionPrivate::copyCredentials(int fromChannel, QAuthenticator *auth, bool isProxy)
Coverage:  83.333% (25/30)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 392-419
 83.333% (25/30)
179
createAuthorization
Name: QHttpNetworkConnectionPrivate::createAuthorization
Prototype: void QHttpNetworkConnectionPrivate::createAuthorization(QAbstractSocket *socket, QHttpNetworkRequest &request)
Coverage:  75.862% (22/29)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 565-594
 75.862% (22/29)
167
dequeueRequest
Name: QHttpNetworkConnectionPrivate::dequeueRequest
Prototype: bool QHttpNetworkConnectionPrivate::dequeueRequest(QAbstractSocket *socket)
Coverage:  87.500% (14/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 667-691
 87.500% (14/16)
166
emitProxyAuthenticationRequired
Name: QHttpNetworkConnectionPrivate::emitProxyAuthenticationRequired
Prototype: void QHttpNetworkConnectionPrivate::emitProxyAuthenticationRequired(const QHttpNetworkConnectionChannel *chan, const QNetworkProxy &proxy, QAuthenticator* auth)
Coverage: 100.000% (5/5)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 1457-1482
100.000% (5/5)
112
emitReplyError
Name: QHttpNetworkConnectionPrivate::emitReplyError
Prototype: void QHttpNetworkConnectionPrivate::emitReplyError(QAbstractSocket *socket, QHttpNetworkReply *reply, QNetworkReply::NetworkError errorCode)
Coverage:  92.308% (12/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 361-390
 92.308% (12/13)
165
errorDetail
Name: QHttpNetworkConnectionPrivate::errorDetail
Prototype: QString QHttpNetworkConnectionPrivate::errorDetail(QNetworkReply::NetworkError errorCode, QAbstractSocket *socket, const QString &extraDetail)
Coverage:  79.310% (23/29)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 834-880
 79.310% (23/29)
2914
fillPipeline
Name: QHttpNetworkConnectionPrivate::fillPipeline
Prototype: void QHttpNetworkConnectionPrivate::fillPipeline(QAbstractSocket *socket)
Coverage:  75.000% (48/64)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 712-792
 75.000% (48/64)
4618
fillPipeline
Name: QHttpNetworkConnectionPrivate::fillPipeline
Prototype: bool QHttpNetworkConnectionPrivate::fillPipeline(QList<HttpMessagePair> &queue, QHttpNetworkConnectionChannel &channel)
Coverage:  63.158% (12/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 795-831
 63.158% (12/19)
177
handleAuthenticateChallenge
Name: QHttpNetworkConnectionPrivate::handleAuthenticateChallenge
Prototype: bool QHttpNetworkConnectionPrivate::handleAuthenticateChallenge(QAbstractSocket *socket, QHttpNetworkReply *reply, bool isProxy, bool &resend)
Coverage:  90.244% (37/41)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 423-516
 90.244% (37/41)
5612
indexOf
Name: QHttpNetworkConnectionPrivate::indexOf
Prototype: int QHttpNetworkConnectionPrivate::indexOf(QAbstractSocket *socket) const
Coverage:  66.667% (4/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 183-191
 66.667% (4/6)
53
init
Name: QHttpNetworkConnectionPrivate::init
Prototype: void QHttpNetworkConnectionPrivate::init()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 127-141
100.000% (4/4)
72
networkLayerDetected
Name: QHttpNetworkConnectionPrivate::networkLayerDetected
Prototype: void QHttpNetworkConnectionPrivate::networkLayerDetected(QAbstractSocket::NetworkLayerProtocol protocol)
Coverage:  77.778% (7/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 1251-1258
 77.778% (7/9)
33
parseRedirectResponse
Name: QHttpNetworkConnectionPrivate::parseRedirectResponse
Prototype: QUrl QHttpNetworkConnectionPrivate::parseRedirectResponse(QAbstractSocket *socket, QHttpNetworkReply *reply)
Coverage:  57.143% (16/28)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 518-563
 57.143% (16/28)
269
pauseConnection
Name: QHttpNetworkConnectionPrivate::pauseConnection
Prototype: void QHttpNetworkConnectionPrivate::pauseConnection()
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 143-158
100.000% (10/10)
64
predictNextRequest
Name: QHttpNetworkConnectionPrivate::predictNextRequest
Prototype: QHttpNetworkRequest QHttpNetworkConnectionPrivate::predictNextRequest() const
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 702-709
 71.429% (5/7)
53
prepareRequest
Name: QHttpNetworkConnectionPrivate::prepareRequest
Prototype: void QHttpNetworkConnectionPrivate::prepareRequest(HttpMessagePair &messagePair)
Coverage:  78.689% (48/61)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 255-356
 78.689% (48/61)
5318
queueRequest
Name: QHttpNetworkConnectionPrivate::queueRequest
Prototype: QHttpNetworkReply* QHttpNetworkConnectionPrivate::queueRequest(const QHttpNetworkRequest &request)
Coverage:  80.769% (21/26)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 596-647
 80.769% (21/26)
229
readMoreLater
Name: QHttpNetworkConnectionPrivate::readMoreLater
Prototype: void QHttpNetworkConnectionPrivate::readMoreLater(QHttpNetworkReply *reply)
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 1094-1103
100.000% (7/7)
43
removeReply
Name: QHttpNetworkConnectionPrivate::removeReply
Prototype: void QHttpNetworkConnectionPrivate::removeReply(QHttpNetworkReply *reply)
Coverage:  66.071% (37/56)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 884-974
 66.071% (37/56)
4518
requeueRequest
Name: QHttpNetworkConnectionPrivate::requeueRequest
Prototype: void QHttpNetworkConnectionPrivate::requeueRequest(const HttpMessagePair &pair)
Coverage:  0.000% (0/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 649-665
  0.000% (0/6)
84
resumeConnection
Name: QHttpNetworkConnectionPrivate::resumeConnection
Prototype: void QHttpNetworkConnectionPrivate::resumeConnection()
Coverage:  85.714% (12/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 160-181
 85.714% (12/14)
95
shouldEmitChannelError
Name: QHttpNetworkConnectionPrivate::shouldEmitChannelError
Prototype: bool QHttpNetworkConnectionPrivate::shouldEmitChannelError(QAbstractSocket *socket)
Coverage:  64.865% (24/37)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 197-242
 64.865% (24/37)
278
startHostInfoLookup
Name: QHttpNetworkConnectionPrivate::startHostInfoLookup
Prototype: void QHttpNetworkConnectionPrivate::startHostInfoLookup()
Coverage:  89.474% (17/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 1111-1148
 89.474% (17/19)
267
startNetworkLayerStateLookup
Name: QHttpNetworkConnectionPrivate::startNetworkLayerStateLookup
Prototype: void QHttpNetworkConnectionPrivate::startNetworkLayerStateLookup()
Coverage:  50.000% (11/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 1213-1249
 50.000% (11/22)
248
uncompressedBytesAvailable
Name: QHttpNetworkConnectionPrivate::uncompressedBytesAvailable
Prototype: qint64 QHttpNetworkConnectionPrivate::uncompressedBytesAvailable(const QHttpNetworkReply &reply) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 245-248
100.000% (1/1)
11
uncompressedBytesAvailableNextBlock
Name: QHttpNetworkConnectionPrivate::uncompressedBytesAvailableNextBlock
Prototype: qint64 QHttpNetworkConnectionPrivate::uncompressedBytesAvailableNextBlock(const QHttpNetworkReply &reply) const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 250-253
  0.000% (0/1)
11
updateChannel
Name: QHttpNetworkConnectionPrivate::updateChannel
Prototype: void QHttpNetworkConnectionPrivate::updateChannel(int i, const HttpMessagePair &messagePair)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 693-700
100.000% (1/1)
31
~QHttpNetworkConnectionPrivate
Name: QHttpNetworkConnectionPrivate::~QHttpNetworkConnectionPrivate
Prototype: QHttpNetworkConnectionPrivate::~QHttpNetworkConnectionPrivate()
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qhttpnetworkconnection.cpp
Lines: 115-125
100.000% (7/7)
63

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