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

Function Tree

Path:<top>::QNativeSocketEngine
Functionâ–ľCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
~QNativeSocketEngine
Name: QNativeSocketEngine::~QNativeSocketEngine
Prototype: QNativeSocketEngine::~QNativeSocketEngine()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 392-395
100.000% (1/1)
11
writeDatagram
Name: QNativeSocketEngine::writeDatagram
Prototype: qint64 QNativeSocketEngine::writeDatagram(const char *data, qint64 size, const QIpPacketHeader &header)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 843-850
 71.429% (5/7)
43
write
Name: QNativeSocketEngine::write
Prototype: qint64 QNativeSocketEngine::write(const char *data, qint64 size)
Coverage:  42.857% (3/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 861-867
 42.857% (3/7)
43
waitForWrite
Name: QNativeSocketEngine::waitForWrite
Prototype: bool QNativeSocketEngine::waitForWrite(int msecs, bool *timedOut)
Coverage:  56.522% (13/23)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 999-1051
 56.522% (13/23)
227
waitForReadOrWrite
Name: QNativeSocketEngine::waitForReadOrWrite
Prototype: bool QNativeSocketEngine::waitForReadOrWrite(bool *readyToRead, bool *readyToWrite, bool checkRead, bool checkWrite, int msecs, bool *timedOut)
Coverage:  50.000% (8/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 1053-1103
 50.000% (8/16)
206
waitForRead
Name: QNativeSocketEngine::waitForRead
Prototype: bool QNativeSocketEngine::waitForRead(int msecs, bool *timedOut)
Coverage:  68.421% (13/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 959-982
 68.421% (13/19)
227
socketDescriptor
Name: QNativeSocketEngine::socketDescriptor
Prototype: qintptr QNativeSocketEngine::socketDescriptor() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 534-538
100.000% (1/1)
21
setWriteNotificationEnabled
Name: QNativeSocketEngine::setWriteNotificationEnabled
Prototype: void QNativeSocketEngine::setWriteNotificationEnabled(bool enable)
Coverage: 100.000% (9/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 1295-1304
100.000% (9/9)
63
setSendBufferSize
Name: QNativeSocketEngine::setSendBufferSize
Prototype: void QNativeSocketEngine::setSendBufferSize(qint64 size)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 1158-1162
 50.000% (2/4)
22
setReceiveBufferSize
Name: QNativeSocketEngine::setReceiveBufferSize
Prototype: void QNativeSocketEngine::setReceiveBufferSize(qint64 size)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 1132-1136
 50.000% (2/4)
22
setReadNotificationEnabled
Name: QNativeSocketEngine::setReadNotificationEnabled
Prototype: void QNativeSocketEngine::setReadNotificationEnabled(bool enable)
Coverage: 100.000% (9/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 1278-1287
100.000% (9/9)
63
setOption
Name: QNativeSocketEngine::setOption
Prototype: bool QNativeSocketEngine::setOption(SocketOption option, int value)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 1168-1172
100.000% (1/1)
21
setMulticastInterface
Name: QNativeSocketEngine::setMulticastInterface
Prototype: bool QNativeSocketEngine::setMulticastInterface(const QNetworkInterface &iface)
Coverage:  42.857% (3/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 757-763
 42.857% (3/7)
43
setExceptionNotificationEnabled
Name: QNativeSocketEngine::setExceptionNotificationEnabled
Prototype: void QNativeSocketEngine::setExceptionNotificationEnabled(bool enable)
Coverage:  33.333% (3/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 1312-1321
 33.333% (3/9)
63
sendBufferSize
Name: QNativeSocketEngine::sendBufferSize
Prototype: qint64 QNativeSocketEngine::sendBufferSize() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 1143-1147
 50.000% (2/4)
22
receiveBufferSize
Name: QNativeSocketEngine::receiveBufferSize
Prototype: qint64 QNativeSocketEngine::receiveBufferSize() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 1111-1115
 50.000% (2/4)
22
readDatagram
Name: QNativeSocketEngine::readDatagram
Prototype: qint64 QNativeSocketEngine::readDatagram(char *data, qint64 maxSize, QIpPacketHeader *header, PacketHeaderOptions options)
Coverage:  42.857% (3/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 811-819
 42.857% (3/7)
43
read
Name: QNativeSocketEngine::read
Prototype: qint64 QNativeSocketEngine::read(char *data, qint64 maxSize)
Coverage:  60.000% (12/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 879-903
 60.000% (12/20)
176
pendingDatagramSize
Name: QNativeSocketEngine::pendingDatagramSize
Prototype: qint64 QNativeSocketEngine::pendingDatagramSize() const
Coverage:  42.857% (3/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 788-795
 42.857% (3/7)
43
option
Name: QNativeSocketEngine::option
Prototype: int QNativeSocketEngine::option(SocketOption socketOption) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 1177-1181
100.000% (1/1)
21
multicastInterface
Name: QNativeSocketEngine::multicastInterface
Prototype: QNetworkInterface QNativeSocketEngine::multicastInterface() const
Coverage:  42.857% (3/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 748-754
 42.857% (3/7)
43
listen
Name: QNativeSocketEngine::listen
Prototype: bool QNativeSocketEngine::listen()
Coverage:  40.000% (4/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 657-669
 40.000% (4/10)
54
leaveMulticastGroup
Name: QNativeSocketEngine::leaveMulticastGroup
Prototype: bool QNativeSocketEngine::leaveMulticastGroup(const QHostAddress &groupAddress, const QNetworkInterface &iface)
Coverage:  40.000% (4/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 737-745
 40.000% (4/10)
54
joinMulticastGroup
Name: QNativeSocketEngine::joinMulticastGroup
Prototype: bool QNativeSocketEngine::joinMulticastGroup(const QHostAddress &groupAddress, const QNetworkInterface &iface)
Coverage:  58.824% (10/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 711-732
 58.824% (10/17)
115
isWriteNotificationEnabled
Name: QNativeSocketEngine::isWriteNotificationEnabled
Prototype: bool QNativeSocketEngine::isWriteNotificationEnabled() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 1289-1293
100.000% (1/1)
21
isValid
Name: QNativeSocketEngine::isValid
Prototype: bool QNativeSocketEngine::isValid() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 524-528
100.000% (1/1)
21
isReadNotificationEnabled
Name: QNativeSocketEngine::isReadNotificationEnabled
Prototype: bool QNativeSocketEngine::isReadNotificationEnabled() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 1183-1187
100.000% (1/1)
21
isExceptionNotificationEnabled
Name: QNativeSocketEngine::isExceptionNotificationEnabled
Prototype: bool QNativeSocketEngine::isExceptionNotificationEnabled() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 1306-1310
100.000% (1/1)
21
initialize
Name: QNativeSocketEngine::initialize
Prototype: bool QNativeSocketEngine::initialize(QAbstractSocket::SocketType socketType, QAbstractSocket::NetworkLayerProtocol protocol)
Coverage:  66.667% (12/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 408-465
 66.667% (12/18)
176
initialize
Name: QNativeSocketEngine::initialize
Prototype: bool QNativeSocketEngine::initialize(qintptr socketDescriptor, QAbstractSocket::SocketState socketState)
Coverage:  50.000% (9/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 477-517
 50.000% (9/18)
216
hasPendingDatagrams
Name: QNativeSocketEngine::hasPendingDatagrams
Prototype: bool QNativeSocketEngine::hasPendingDatagrams() const
Coverage:  60.000% (6/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 772-780
 60.000% (6/10)
54
connectionNotification
Name: QNativeSocketEngine::connectionNotification
Prototype: void QNativeSocketEngine::connectionNotification()
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 586-596
 75.000% (3/4)
52
connectToHostByName
Name: QNativeSocketEngine::connectToHostByName
Prototype: bool QNativeSocketEngine::connectToHostByName(const QString &name, quint16 port)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 606-614
  0.000% (0/1)
61
connectToHost
Name: QNativeSocketEngine::connectToHost
Prototype: bool QNativeSocketEngine::connectToHost(const QHostAddress &address, quint16 port)
Coverage:  76.471% (13/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 562-580
 76.471% (13/17)
175
close
Name: QNativeSocketEngine::close
Prototype: void QNativeSocketEngine::close()
Coverage:  81.818% (18/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 909-942
 81.818% (18/22)
268
bytesToWrite
Name: QNativeSocketEngine::bytesToWrite
Prototype: qint64 QNativeSocketEngine::bytesToWrite() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 870-873
100.000% (1/1)
11
bytesAvailable
Name: QNativeSocketEngine::bytesAvailable
Prototype: qint64 QNativeSocketEngine::bytesAvailable() const
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 696-703
 71.429% (5/7)
43
bind
Name: QNativeSocketEngine::bind
Prototype: bool QNativeSocketEngine::bind(const QHostAddress &address, quint16 port)
Coverage:  53.846% (7/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 625-640
 53.846% (7/13)
95
accept
Name: QNativeSocketEngine::accept
Prototype: int QNativeSocketEngine::accept()
Coverage:  40.000% (4/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 678-686
 40.000% (4/10)
54
QNativeSocketEngine
Name: QNativeSocketEngine::QNativeSocketEngine
Prototype: QNativeSocketEngine::QNativeSocketEngine(QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 384-387
100.000% (1/1)
21

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