Function | Condition %▾ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
~QSocks5SocketEngineName: | 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 |
socketDescriptorName: | 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 |
setProxyName: | 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 |
setExceptionNotificationEnabledName: | 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 |
isWriteNotificationEnabledName: | 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 |
isValidName: | 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 |
isReadNotificationEnabledName: | 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 |
isExceptionNotificationEnabledName: | 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 |
initializeName: | 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 |
connectToHostByNameName: | 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 |
connectToHostName: | 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 |
QSocks5SocketEngineName: | 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 |
setOptionName: | 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 |
setWriteNotificationEnabledName: | 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 |
waitForReadOrWriteName: | 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 |
setReadNotificationEnabledName: | 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 |
connectInternalName: | 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 |
bindName: | 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 |
waitForWriteName: | 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 |
closeName: | 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 |
writeName: | 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 |
readName: | 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 |
waitForReadName: | 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 |
listenName: | 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 |
bytesAvailableName: | 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 |
hasPendingDatagramsName: | 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 |
bytesToWriteName: | 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 |
acceptName: | 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 |
initializeName: | 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 |
writeDatagramName: | 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 |
setMulticastInterfaceName: | 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 |
readDatagramName: | 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 |
pendingDatagramSizeName: | 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 |
optionName: | 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 |
multicastInterfaceName: | 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 |
leaveMulticastGroupName: | 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 |
joinMulticastGroupName: | 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 |