Function | Condition %▾ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
~QNativeSocketEngineName: | 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 |
| | 1 | 1 |
socketDescriptorName: | 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 |
| | 2 | 1 |
setWriteNotificationEnabledName: | 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 |
| | 6 | 3 |
setReadNotificationEnabledName: | 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 |
| | 6 | 3 |
setOptionName: | 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 |
| | 2 | 1 |
optionName: | 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 |
| | 2 | 1 |
isWriteNotificationEnabledName: | 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 |
| | 2 | 1 |
isValidName: | 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 |
| | 2 | 1 |
isReadNotificationEnabledName: | 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 |
| | 2 | 1 |
isExceptionNotificationEnabledName: | 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 |
| | 2 | 1 |
bytesToWriteName: | 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 |
| | 1 | 1 |
QNativeSocketEngineName: | 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 |
| | 2 | 1 |
closeName: | 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 |
| | 26 | 8 |
connectToHostName: | 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 |
| | 17 | 5 |
connectionNotificationName: | 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 |
| | 5 | 2 |
writeDatagramName: | 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 |
| | 4 | 3 |
bytesAvailableName: | 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 |
| | 4 | 3 |
waitForReadName: | 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 |
| | 22 | 7 |
initializeName: | 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 |
| | 17 | 6 |
readName: | 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 |
| | 17 | 6 |
hasPendingDatagramsName: | 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 |
| | 5 | 4 |
joinMulticastGroupName: | 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 |
| | 11 | 5 |
waitForWriteName: | 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 |
| | 22 | 7 |
bindName: | 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 |
| | 9 | 5 |
waitForReadOrWriteName: | 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 |
| | 20 | 6 |
setSendBufferSizeName: | 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 |
| | 2 | 2 |
setReceiveBufferSizeName: | 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 |
| | 2 | 2 |
sendBufferSizeName: | 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 |
| | 2 | 2 |
receiveBufferSizeName: | 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 |
| | 2 | 2 |
initializeName: | 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 |
| | 21 | 6 |
writeName: | 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 |
| | 4 | 3 |
setMulticastInterfaceName: | 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 |
| | 4 | 3 |
readDatagramName: | 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 |
| | 4 | 3 |
pendingDatagramSizeName: | 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 |
| | 4 | 3 |
multicastInterfaceName: | 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 |
| | 4 | 3 |
listenName: | 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 |
| | 5 | 4 |
leaveMulticastGroupName: | 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 |
| | 5 | 4 |
acceptName: | 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 |
| | 5 | 4 |
setExceptionNotificationEnabledName: | 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 |
| | 6 | 3 |
connectToHostByNameName: | 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 |
| | 6 | 1 |