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

Function Tree

Path:<top>::QHttpSocketEngine
Functionâ–ľCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
writeDatagram
Name: QHttpSocketEngine::writeDatagram
Prototype: qint64 QHttpSocketEngine::writeDatagram(const char *, qint64, const QIpPacketHeader &)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 300-306
  0.000% (0/1)
41
write
Name: QHttpSocketEngine::write
Prototype: qint64 QHttpSocketEngine::write(const char *data, qint64 len)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 252-256
100.000% (1/1)
21
waitForWrite
Name: QHttpSocketEngine::waitForWrite
Prototype: bool QHttpSocketEngine::waitForWrite(int msecs, bool *timedOut)
Coverage:  75.000% (21/28)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 396-430
 75.000% (21/28)
158
waitForReadOrWrite
Name: QHttpSocketEngine::waitForReadOrWrite
Prototype: bool QHttpSocketEngine::waitForReadOrWrite(bool *readyToRead, bool *readyToWrite, bool checkRead, bool checkWrite, int msecs, bool *timedOut)
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 432-451
 80.000% (8/10)
104
waitForRead
Name: QHttpSocketEngine::waitForRead
Prototype: bool QHttpSocketEngine::waitForRead(int msecs, bool *timedOut)
Coverage:  45.455% (15/33)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 358-394
 45.455% (15/33)
209
socketDescriptor
Name: QHttpSocketEngine::socketDescriptor
Prototype: qintptr QHttpSocketEngine::socketDescriptor() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 123-127
100.000% (1/1)
21
slotSocketStateChanged
Name: QHttpSocketEngine::slotSocketStateChanged
Prototype: void QHttpSocketEngine::slotSocketStateChanged(QAbstractSocket::SocketState state)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 770-773
100.000% (1/1)
11
slotSocketReadNotification
Name: QHttpSocketEngine::slotSocketReadNotification
Prototype: void QHttpSocketEngine::slotSocketReadNotification()
Coverage:  89.362% (84/94)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 542-696
 89.362% (84/94)
9729
slotSocketError
Name: QHttpSocketEngine::slotSocketError
Prototype: void QHttpSocketEngine::slotSocketError(QAbstractSocket::SocketError error)
Coverage:  82.609% (19/23)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 738-768
 82.609% (19/23)
208
slotSocketConnected
Name: QHttpSocketEngine::slotSocketConnected
Prototype: void QHttpSocketEngine::slotSocketConnected()
Coverage: 100.000% (12/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 502-536
100.000% (12/12)
254
slotSocketBytesWritten
Name: QHttpSocketEngine::slotSocketBytesWritten
Prototype: void QHttpSocketEngine::slotSocketBytesWritten()
Coverage: 100.000% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 731-736
100.000% (6/6)
32
setWriteNotificationEnabled
Name: QHttpSocketEngine::setWriteNotificationEnabled
Prototype: void QHttpSocketEngine::setWriteNotificationEnabled(bool enable)
Coverage:  87.500% (7/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 482-488
 87.500% (7/8)
42
setReadNotificationEnabled
Name: QHttpSocketEngine::setReadNotificationEnabled
Prototype: void QHttpSocketEngine::setReadNotificationEnabled(bool enable)
Coverage:  93.333% (14/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 459-474
 93.333% (14/15)
95
setProxy
Name: QHttpSocketEngine::setProxy
Prototype: void QHttpSocketEngine::setProxy(const QNetworkProxy &proxy)
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 111-121
100.000% (7/7)
83
setOption
Name: QHttpSocketEngine::setOption
Prototype: bool QHttpSocketEngine::setOption(SocketOption option, int value)
Coverage:  50.000% (5/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 344-356
 50.000% (5/10)
84
setMulticastInterface
Name: QHttpSocketEngine::setMulticastInterface
Prototype: bool QHttpSocketEngine::setMulticastInterface(const QNetworkInterface &)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 283-289
  0.000% (0/1)
41
setExceptionNotificationEnabled
Name: QHttpSocketEngine::setExceptionNotificationEnabled
Prototype: void QHttpSocketEngine::setExceptionNotificationEnabled(bool enable)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 496-500
100.000% (1/1)
21
readHttpHeader
Name: QHttpSocketEngine::readHttpHeader
Prototype: bool QHttpSocketEngine::readHttpHeader()
Coverage:  66.667% (22/33)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 698-729
 66.667% (22/33)
229
readDatagram
Name: QHttpSocketEngine::readDatagram
Prototype: qint64 QHttpSocketEngine::readDatagram(char *, qint64, QIpPacketHeader *, PacketHeaderOptions)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 292-298
  0.000% (0/1)
41
read
Name: QHttpSocketEngine::read
Prototype: qint64 QHttpSocketEngine::read(char *data, qint64 maxlen)
Coverage:  88.889% (8/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 229-250
 88.889% (8/9)
123
pendingDatagramSize
Name: QHttpSocketEngine::pendingDatagramSize
Prototype: qint64 QHttpSocketEngine::pendingDatagramSize() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 314-318
  0.000% (0/1)
21
option
Name: QHttpSocketEngine::option
Prototype: int QHttpSocketEngine::option(SocketOption option) const
Coverage:  0.000% (0/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 331-342
  0.000% (0/10)
74
multicastInterface
Name: QHttpSocketEngine::multicastInterface
Prototype: QNetworkInterface QHttpSocketEngine::multicastInterface() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 278-281
  0.000% (0/1)
11
listen
Name: QHttpSocketEngine::listen
Prototype: bool QHttpSocketEngine::listen()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 197-203
  0.000% (0/1)
41
leaveMulticastGroup
Name: QHttpSocketEngine::leaveMulticastGroup
Prototype: bool QHttpSocketEngine::leaveMulticastGroup(const QHostAddress &, const QNetworkInterface &)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 269-276
  0.000% (0/1)
41
joinMulticastGroup
Name: QHttpSocketEngine::joinMulticastGroup
Prototype: bool QHttpSocketEngine::joinMulticastGroup(const QHostAddress &, const QNetworkInterface &)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 260-267
  0.000% (0/1)
41
isWriteNotificationEnabled
Name: QHttpSocketEngine::isWriteNotificationEnabled
Prototype: bool QHttpSocketEngine::isWriteNotificationEnabled() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 476-480
100.000% (1/1)
21
isValid
Name: QHttpSocketEngine::isValid
Prototype: bool QHttpSocketEngine::isValid() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 129-133
100.000% (1/1)
21
isReadNotificationEnabled
Name: QHttpSocketEngine::isReadNotificationEnabled
Prototype: bool QHttpSocketEngine::isReadNotificationEnabled() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 453-457
100.000% (1/1)
21
isExceptionNotificationEnabled
Name: QHttpSocketEngine::isExceptionNotificationEnabled
Prototype: bool QHttpSocketEngine::isExceptionNotificationEnabled() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 490-494
100.000% (1/1)
21
initialize
Name: QHttpSocketEngine::initialize
Prototype: bool QHttpSocketEngine::initialize(QAbstractSocket::SocketType type, QAbstractSocket::NetworkLayerProtocol protocol)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 65-104
 50.000% (2/4)
282
initialize
Name: QHttpSocketEngine::initialize
Prototype: bool QHttpSocketEngine::initialize(qintptr, QAbstractSocket::SocketState)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 106-109
  0.000% (0/1)
11
hasPendingDatagrams
Name: QHttpSocketEngine::hasPendingDatagrams
Prototype: bool QHttpSocketEngine::hasPendingDatagrams() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 308-312
100.000% (1/1)
21
emitWriteNotification
Name: QHttpSocketEngine::emitWriteNotification
Prototype: void QHttpSocketEngine::emitWriteNotification()
Coverage:  83.333% (5/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 810-817
 83.333% (5/6)
42
emitReadNotification
Name: QHttpSocketEngine::emitReadNotification
Prototype: void QHttpSocketEngine::emitReadNotification()
Coverage: 100.000% (8/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 798-808
100.000% (8/8)
42
emitPendingWriteNotification
Name: QHttpSocketEngine::emitPendingWriteNotification
Prototype: void QHttpSocketEngine::emitPendingWriteNotification()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 783-789
100.000% (4/4)
42
emitPendingReadNotification
Name: QHttpSocketEngine::emitPendingReadNotification
Prototype: void QHttpSocketEngine::emitPendingReadNotification()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 775-781
100.000% (4/4)
42
emitPendingConnectionNotification
Name: QHttpSocketEngine::emitPendingConnectionNotification
Prototype: void QHttpSocketEngine::emitPendingConnectionNotification()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 791-796
100.000% (1/1)
31
emitConnectionNotification
Name: QHttpSocketEngine::emitConnectionNotification
Prototype: void QHttpSocketEngine::emitConnectionNotification()
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 819-826
 75.000% (3/4)
42
connectToHostByName
Name: QHttpSocketEngine::connectToHostByName
Prototype: bool QHttpSocketEngine::connectToHostByName(const QString &hostname, quint16 port)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 178-187
100.000% (1/1)
51
connectToHost
Name: QHttpSocketEngine::connectToHost
Prototype: bool QHttpSocketEngine::connectToHost(const QHostAddress &address, quint16 port)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 167-176
100.000% (1/1)
51
connectInternal
Name: QHttpSocketEngine::connectInternal
Prototype: bool QHttpSocketEngine::connectInternal()
Coverage:  41.176% (7/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 135-165
 41.176% (7/17)
155
close
Name: QHttpSocketEngine::close
Prototype: void QHttpSocketEngine::close()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 213-221
100.000% (4/4)
52
bytesToWrite
Name: QHttpSocketEngine::bytesToWrite
Prototype: qint64 QHttpSocketEngine::bytesToWrite() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 321-329
 50.000% (2/4)
42
bytesAvailable
Name: QHttpSocketEngine::bytesAvailable
Prototype: qint64 QHttpSocketEngine::bytesAvailable() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 223-227
100.000% (1/1)
21
bind
Name: QHttpSocketEngine::bind
Prototype: bool QHttpSocketEngine::bind(const QHostAddress &, quint16)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 189-195
  0.000% (0/1)
41
accept
Name: QHttpSocketEngine::accept
Prototype: int QHttpSocketEngine::accept()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 205-211
  0.000% (0/1)
41
QHttpSocketEngine
Name: QHttpSocketEngine::QHttpSocketEngine
Prototype: QHttpSocketEngine::QHttpSocketEngine(QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qhttpsocketengine.cpp
Lines: 56-59
100.000% (1/1)
21

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