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

Function Tree

Path:<top>::QSocks5SocketEngine
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
~QSocks5SocketEngine
Name: QSocks5SocketEngine::~QSocks5SocketEngine
Prototype: QSocks5SocketEngine::~QSocks5SocketEngine()
Coverage: 100.000% (13/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 988-1006
100.000% (13/13)
115
socketDescriptor
Name: QSocks5SocketEngine::socketDescriptor
Prototype: qintptr QSocks5SocketEngine::socketDescriptor() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1085-1089
100.000% (1/1)
21
setProxy
Name: QSocks5SocketEngine::setProxy
Prototype: void QSocks5SocketEngine::setProxy(const QNetworkProxy &networkProxy)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1079-1083
100.000% (1/1)
21
setExceptionNotificationEnabled
Name: QSocks5SocketEngine::setExceptionNotificationEnabled
Prototype: void QSocks5SocketEngine::setExceptionNotificationEnabled(bool enable)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1909-1913
100.000% (1/1)
21
isWriteNotificationEnabled
Name: QSocks5SocketEngine::isWriteNotificationEnabled
Prototype: bool QSocks5SocketEngine::isWriteNotificationEnabled() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1885-1889
100.000% (1/1)
21
isValid
Name: QSocks5SocketEngine::isValid
Prototype: bool QSocks5SocketEngine::isValid() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1091-1099
100.000% (1/1)
61
isReadNotificationEnabled
Name: QSocks5SocketEngine::isReadNotificationEnabled
Prototype: bool QSocks5SocketEngine::isReadNotificationEnabled() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1852-1856
100.000% (1/1)
21
isExceptionNotificationEnabled
Name: QSocks5SocketEngine::isExceptionNotificationEnabled
Prototype: bool QSocks5SocketEngine::isExceptionNotificationEnabled() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1903-1907
100.000% (1/1)
21
initialize
Name: QSocks5SocketEngine::initialize
Prototype: bool QSocks5SocketEngine::initialize(QAbstractSocket::SocketType type, QAbstractSocket::NetworkLayerProtocol protocol)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1010-1020
100.000% (1/1)
51
connectToHostByName
Name: QSocks5SocketEngine::connectToHostByName
Prototype: bool QSocks5SocketEngine::connectToHostByName(const QString &hostname, quint16 port)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1151-1160
100.000% (1/1)
51
connectToHost
Name: QSocks5SocketEngine::connectToHost
Prototype: bool QSocks5SocketEngine::connectToHost(const QHostAddress &address, quint16 port)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1139-1149
100.000% (1/1)
51
QSocks5SocketEngine
Name: QSocks5SocketEngine::QSocks5SocketEngine
Prototype: QSocks5SocketEngine::QSocks5SocketEngine(QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 983-986
100.000% (1/1)
21
setOption
Name: QSocks5SocketEngine::setOption
Prototype: bool QSocks5SocketEngine::setOption(SocketOption option, int value)
Coverage:  91.667% (11/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1714-1726
 91.667% (11/12)
84
setWriteNotificationEnabled
Name: QSocks5SocketEngine::setWriteNotificationEnabled
Prototype: void QSocks5SocketEngine::setWriteNotificationEnabled(bool enable)
Coverage:  90.909% (10/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1891-1901
 90.909% (10/11)
73
waitForReadOrWrite
Name: QSocks5SocketEngine::waitForReadOrWrite
Prototype: bool QSocks5SocketEngine::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/qsocks5socketengine.cpp
Lines: 1834-1850
 80.000% (8/10)
104
setReadNotificationEnabled
Name: QSocks5SocketEngine::setReadNotificationEnabled
Prototype: void QSocks5SocketEngine::setReadNotificationEnabled(bool enable)
Coverage:  77.273% (17/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1858-1883
 77.273% (17/22)
156
connectInternal
Name: QSocks5SocketEngine::connectInternal
Prototype: bool QSocks5SocketEngine::connectInternal()
Coverage:  76.190% (16/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1101-1137
 76.190% (16/21)
207
bind
Name: QSocks5SocketEngine::bind
Prototype: bool QSocks5SocketEngine::bind(const QHostAddress &addr, quint16 port)
Coverage:  70.455% (31/44)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1330-1422
 70.455% (31/44)
5212
waitForWrite
Name: QSocks5SocketEngine::waitForWrite
Prototype: bool QSocks5SocketEngine::waitForWrite(int msecs, bool *timedOut)
Coverage:  68.421% (13/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1808-1832
 68.421% (13/19)
145
close
Name: QSocks5SocketEngine::close
Prototype: void QSocks5SocketEngine::close()
Coverage:  65.000% (13/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1479-1500
 65.000% (13/20)
136
write
Name: QSocks5SocketEngine::write
Prototype: qint64 QSocks5SocketEngine::write(const char *data, qint64 len)
Coverage:  62.500% (10/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1545-1578
 62.500% (10/16)
166
read
Name: QSocks5SocketEngine::read
Prototype: qint64 QSocks5SocketEngine::read(char *data, qint64 maxlen)
Coverage:  61.538% (8/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1515-1543
 61.538% (8/13)
175
waitForRead
Name: QSocks5SocketEngine::waitForRead
Prototype: bool QSocks5SocketEngine::waitForRead(int msecs, bool *timedOut)
Coverage:  57.895% (22/38)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1756-1805
 57.895% (22/38)
2711
listen
Name: QSocks5SocketEngine::listen
Prototype: bool QSocks5SocketEngine::listen()
Coverage:  57.143% (4/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1425-1442
 57.143% (4/7)
73
bytesAvailable
Name: QSocks5SocketEngine::bytesAvailable
Prototype: qint64 QSocks5SocketEngine::bytesAvailable() const
Coverage:  55.556% (5/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1502-1513
 55.556% (5/9)
73
hasPendingDatagrams
Name: QSocks5SocketEngine::hasPendingDatagrams
Prototype: bool QSocks5SocketEngine::hasPendingDatagrams() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1669-1677
 50.000% (2/4)
42
bytesToWrite
Name: QSocks5SocketEngine::bytesToWrite
Prototype: qint64 QSocks5SocketEngine::bytesToWrite() const
Coverage:  50.000% (3/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1691-1699
 50.000% (3/6)
42
accept
Name: QSocks5SocketEngine::accept
Prototype: int QSocks5SocketEngine::accept()
Coverage:  42.857% (3/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1444-1477
 42.857% (3/7)
204
initialize
Name: QSocks5SocketEngine::initialize
Prototype: bool QSocks5SocketEngine::initialize(qintptr socketDescriptor, QAbstractSocket::SocketState socketState)
Coverage:  40.000% (4/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1022-1077
 40.000% (4/10)
404
writeDatagram
Name: QSocks5SocketEngine::writeDatagram
Prototype: qint64 QSocks5SocketEngine::writeDatagram(const char *data, qint64 len, const QIpPacketHeader &header)
Coverage:  26.316% (5/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1629-1667
 26.316% (5/19)
217
setMulticastInterface
Name: QSocks5SocketEngine::setMulticastInterface
Prototype: bool QSocks5SocketEngine::setMulticastInterface(const QNetworkInterface &)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1604-1609
  0.000% (0/1)
31
readDatagram
Name: QSocks5SocketEngine::readDatagram
Prototype: qint64 QSocks5SocketEngine::readDatagram(char *data, qint64 maxlen, QIpPacketHeader *header, PacketHeaderOptions)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1612-1627
  0.000% (0/4)
102
pendingDatagramSize
Name: QSocks5SocketEngine::pendingDatagramSize
Prototype: qint64 QSocks5SocketEngine::pendingDatagramSize() const
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1679-1688
  0.000% (0/4)
52
option
Name: QSocks5SocketEngine::option
Prototype: int QSocks5SocketEngine::option(SocketOption option) const
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1701-1712
  0.000% (0/12)
74
multicastInterface
Name: QSocks5SocketEngine::multicastInterface
Prototype: QNetworkInterface QSocks5SocketEngine::multicastInterface() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1599-1602
  0.000% (0/1)
11
leaveMulticastGroup
Name: QSocks5SocketEngine::leaveMulticastGroup
Prototype: bool QSocks5SocketEngine::leaveMulticastGroup(const QHostAddress &, const QNetworkInterface &)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1590-1596
  0.000% (0/1)
31
joinMulticastGroup
Name: QSocks5SocketEngine::joinMulticastGroup
Prototype: bool QSocks5SocketEngine::joinMulticastGroup(const QHostAddress &, const QNetworkInterface &)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qsocks5socketengine.cpp
Lines: 1582-1588
  0.000% (0/1)
31

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