Function | Condition % | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexityâ–¾ |
setErrorName: | 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 |
| | 64 | 32 |
nativeConnectName: | 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 |
| | 35 | 20 |
nativeAcceptName: | 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 |
| | 20 | 19 |
fetchConnectionParametersName: | 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 |
| | 44 | 14 |
createNewSocketName: | 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 |
| | 23 | 13 |
nativeReceiveDatagramName: | 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 |
| | 52 | 12 |
nativeSendDatagramName: | 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 |
| | 59 | 10 |
nativeBindName: | 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 |
| | 29 | 10 |
nativeReadName: | 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 |
| | 16 | 9 |
nativeMulticastInterfaceName: | 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 |
| | 21 | 8 |
setOptionName: | 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 |
| | 15 | 7 |
nativeWriteName: | 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 |
| | 15 | 7 |
nativeSetMulticastInterfaceName: | 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 |
| | 17 | 6 |
checkProxyName: | 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 |
| | 17 | 6 |
adjustAddressProtocolName: | 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 |
| | 13 | 6 |
nativeSelectName: | 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 |
| | 14 | 5 |
optionName: | 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 |
| | 13 | 4 |
nativePendingDatagramSizeName: | 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 |
| | 11 | 4 |
nativeListenName: | 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 |
| | 9 | 4 |
nativeHasPendingDatagramsName: | 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 |
| | 9 | 2 |
nativeBytesAvailableName: | 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 |
| | 5 | 2 |
nativeSelectName: | 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 |
| | 2 | 1 |
nativeLeaveMulticastGroupName: | 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 |
| | 5 | 1 |
nativeJoinMulticastGroupName: | 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 |
| | 5 | 1 |
nativeCloseName: | 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 |
| | 1 | 1 |
QNativeSocketEnginePrivateName: | 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 |
| | 5 | 1 |