| Function | Condition % | eLOC - Effective Lines of Codeā¾ | McCabe - Cyclomatic Complexity |
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 |
| | 52 | 12 |
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 | 4 |
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 |
| | 27 | 11 |
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 |
| | 21 | 7 |
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 |
| | 20 | 7 |
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 |
| | 20 | 4 |
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 |
| | 17 | 5 |
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 |
| | 16 | 6 |
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 |
| | 15 | 6 |
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 |
| | 14 | 5 |
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 |
| | 13 | 6 |
~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 |
| | 11 | 5 |
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 |
| | 10 | 4 |
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 |
| | 10 | 2 |
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 |
| | 8 | 4 |
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 |
| | 7 | 3 |
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 |
| | 7 | 4 |
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 |
| | 7 | 3 |
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 |
| | 7 | 3 |
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 |
| | 6 | 1 |
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 |
| | 5 | 2 |
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 |
| | 5 | 1 |
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 |
| | 5 | 1 |
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 |
| | 5 | 1 |
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 |
| | 4 | 2 |
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 |
| | 4 | 2 |
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 |
| | 3 | 1 |
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 |
| | 3 | 1 |
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 |
| | 3 | 1 |
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 |
| | 2 | 1 |
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 |
| | 2 | 1 |
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 |
| | 2 | 1 |
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 |
| | 2 | 1 |
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 |
| | 2 | 1 |
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 |
| | 2 | 1 |
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 |
| | 2 | 1 |
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 |
| | 1 | 1 |