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

Function Tree

Path:<top>::QNativeSocketEnginePrivate
FunctionCondition %▴eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
nativeAccept
Name: QNativeSocketEnginePrivate::nativeAccept
Prototype: int QNativeSocketEnginePrivate::nativeAccept()
Coverage:  17.857% (5/28)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 546-593
 17.857% (5/28)
2019
nativeListen
Name: QNativeSocketEnginePrivate::nativeListen
Prototype: bool QNativeSocketEnginePrivate::nativeListen(int backlog)
Coverage:  25.000% (2/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 516-544
 25.000% (2/8)
94
nativeReceiveDatagram
Name: QNativeSocketEnginePrivate::nativeReceiveDatagram
Prototype: qint64 QNativeSocketEnginePrivate::nativeReceiveDatagram(char *data, qint64 maxSize, QIpPacketHeader *header, QAbstractSocketEngine::PacketHeaderOptions options)
Coverage:  28.571% (16/56)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 825-928
 28.571% (16/56)
5212
nativeConnect
Name: QNativeSocketEnginePrivate::nativeConnect
Prototype: bool QNativeSocketEnginePrivate::nativeConnect(const QHostAddress &addr, quint16 port)
Coverage:  31.429% (11/35)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 373-451
 31.429% (11/35)
3520
nativeSetMulticastInterface
Name: QNativeSocketEnginePrivate::nativeSetMulticastInterface
Prototype: bool QNativeSocketEnginePrivate::nativeSetMulticastInterface(const QNetworkInterface &iface)
Coverage:  50.000% (9/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 720-745
 50.000% (9/18)
176
setOption
Name: QNativeSocketEnginePrivate::setOption
Prototype: bool QNativeSocketEnginePrivate::setOption(QNativeSocketEngine::SocketOption opt, int v)
Coverage:  50.000% (8/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 314-371
 50.000% (8/16)
157
setError
Name: QNativeSocketEnginePrivate::setError
Prototype: void QNativeSocketEnginePrivate::setError(QAbstractSocket::SocketError error, ErrorString errorString) const
Coverage:  50.769% (33/65)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 206-313
 50.769% (33/65)
6432
createNewSocket
Name: QNativeSocketEnginePrivate::createNewSocket
Prototype: bool QNativeSocketEnginePrivate::createNewSocket(QAbstractSocket::SocketType socketType, QAbstractSocket::NetworkLayerProtocol &socketProtocol)
Coverage:  51.515% (17/33)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 229-283
 51.515% (17/33)
2313
option
Name: QNativeSocketEnginePrivate::option
Prototype: int QNativeSocketEnginePrivate::option(QNativeSocketEngine::SocketOption opt) const
Coverage:  56.250% (9/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 288-308
 56.250% (9/16)
134
nativeSendDatagram
Name: QNativeSocketEnginePrivate::nativeSendDatagram
Prototype: qint64 QNativeSocketEnginePrivate::nativeSendDatagram(const char *data, qint64 len, const QIpPacketHeader &header)
Coverage:  56.667% (17/30)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 930-1026
 56.667% (17/30)
5910
nativeWrite
Name: QNativeSocketEnginePrivate::nativeWrite
Prototype: qint64 QNativeSocketEnginePrivate::nativeWrite(const char *data, qint64 len)
Coverage:  58.333% (7/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 1128-1161
 58.333% (7/12)
157
nativePendingDatagramSize
Name: QNativeSocketEnginePrivate::nativePendingDatagramSize
Prototype: qint64 QNativeSocketEnginePrivate::nativePendingDatagramSize() const
Coverage:  60.000% (6/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 798-823
 60.000% (6/10)
114
nativeMulticastInterface
Name: QNativeSocketEnginePrivate::nativeMulticastInterface
Prototype: QNetworkInterface QNativeSocketEnginePrivate::nativeMulticastInterface() const
Coverage:  61.538% (16/26)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 690-718
 61.538% (16/26)
218
nativeRead
Name: QNativeSocketEnginePrivate::nativeRead
Prototype: qint64 QNativeSocketEnginePrivate::nativeRead(char *data, qint64 maxSize)
Coverage:  62.500% (10/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 1164-1208
 62.500% (10/16)
169
adjustAddressProtocol
Name: QNativeSocketEnginePrivate::adjustAddressProtocol
Prototype: QHostAddress QNativeSocketEnginePrivate::adjustAddressProtocol(const QHostAddress &address) const
Coverage:  65.000% (13/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 322-345
 65.000% (13/20)
136
nativeBytesAvailable
Name: QNativeSocketEnginePrivate::nativeBytesAvailable
Prototype: qint64 QNativeSocketEnginePrivate::nativeBytesAvailable() const
Coverage:  66.667% (4/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 749-770
 66.667% (4/6)
52
nativeBind
Name: QNativeSocketEnginePrivate::nativeBind
Prototype: bool QNativeSocketEnginePrivate::nativeBind(const QHostAddress &address, quint16 port)
Coverage:  77.778% (21/27)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 453-514
 77.778% (21/27)
2910
nativeHasPendingDatagrams
Name: QNativeSocketEnginePrivate::nativeHasPendingDatagrams
Prototype: bool QNativeSocketEnginePrivate::nativeHasPendingDatagrams() const
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 772-796
 80.000% (8/10)
92
fetchConnectionParameters
Name: QNativeSocketEnginePrivate::fetchConnectionParameters
Prototype: bool QNativeSocketEnginePrivate::fetchConnectionParameters()
Coverage:  80.952% (34/42)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 1028-1117
 80.952% (34/42)
4414
checkProxy
Name: QNativeSocketEnginePrivate::checkProxy
Prototype: bool QNativeSocketEnginePrivate::checkProxy(const QHostAddress &address)
Coverage:  84.211% (16/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 347-377
 84.211% (16/19)
176
nativeSelect
Name: QNativeSocketEnginePrivate::nativeSelect
Prototype: int QNativeSocketEnginePrivate::nativeSelect(int timeout, bool checkRead, bool checkWrite, bool *selectForRead, bool *selectForWrite) const
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 1216-1244
 84.615% (11/13)
145
QNativeSocketEnginePrivate
Name: QNativeSocketEnginePrivate::QNativeSocketEnginePrivate
Prototype: QNativeSocketEnginePrivate::QNativeSocketEnginePrivate()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine.cpp
Lines: 182-191
100.000% (1/1)
51
nativeClose
Name: QNativeSocketEnginePrivate::nativeClose
Prototype: void QNativeSocketEnginePrivate::nativeClose()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 1119-1126
100.000% (1/1)
11
nativeJoinMulticastGroup
Name: QNativeSocketEnginePrivate::nativeJoinMulticastGroup
Prototype: bool QNativeSocketEnginePrivate::nativeJoinMulticastGroup(const QHostAddress &groupAddress, const QNetworkInterface &interface)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 670-678
100.000% (1/1)
51
nativeLeaveMulticastGroup
Name: QNativeSocketEnginePrivate::nativeLeaveMulticastGroup
Prototype: bool QNativeSocketEnginePrivate::nativeLeaveMulticastGroup(const QHostAddress &groupAddress, const QNetworkInterface &interface)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 680-688
100.000% (1/1)
51
nativeSelect
Name: QNativeSocketEnginePrivate::nativeSelect
Prototype: int QNativeSocketEnginePrivate::nativeSelect(int timeout, bool selectForRead) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qnativesocketengine_unix.cpp
Lines: 1210-1214
100.000% (1/1)
21

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