Function | Condition % | eLOC - Effective Lines of Codeā¾ | McCabe - Cyclomatic Complexity |
connectToHostName: | QAbstractSocket::connectToHost | Prototype: | void QAbstractSocket::connectToHost(const QString &hostName, quint16 port, OpenMode openMode, NetworkLayerProtocol protocol) | Coverage: | 86.486% (32/37) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1632-1725 |
| | 54 | 11 |
waitForConnectedName: | QAbstractSocket::waitForConnected | Prototype: | bool QAbstractSocket::waitForConnected(int msecs) | Coverage: | 83.333% (40/48) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2064-2148 |
| | 42 | 12 |
setSocketDescriptorName: | QAbstractSocket::setSocketDescriptor | Prototype: | bool QAbstractSocket::setSocketDescriptor(qintptr socketDescriptor, SocketState socketState, OpenMode openMode) | Coverage: | 72.414% (21/29) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1887-1946 |
| | 39 | 10 |
disconnectFromHostName: | QAbstractSocket::disconnectFromHost | Prototype: | void QAbstractSocket::disconnectFromHost() | Coverage: | 98.000% (49/50) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2685-2784 |
| | 39 | 12 |
waitForBytesWrittenName: | QAbstractSocket::waitForBytesWritten | Prototype: | bool QAbstractSocket::waitForBytesWritten(int msecs) | Coverage: | 41.176% (14/34) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2234-2297 |
| | 30 | 12 |
writeDataName: | QAbstractSocket::writeData | Prototype: | qint64 QAbstractSocket::writeData(const char *data, qint64 size) | Coverage: | 81.395% (35/43) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2492-2556 |
| | 28 | 9 |
waitForDisconnectedName: | QAbstractSocket::waitForDisconnected | Prototype: | bool QAbstractSocket::waitForDisconnected(int msecs) | Coverage: | 77.419% (24/31) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2318-2364 |
| | 28 | 11 |
waitForReadyReadName: | QAbstractSocket::waitForReadyRead | Prototype: | bool QAbstractSocket::waitForReadyRead(int msecs) | Coverage: | 89.189% (33/37) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2165-2216 |
| | 25 | 11 |
socketOptionName: | QAbstractSocket::socketOption | Prototype: | QVariant QAbstractSocket::socketOption(QAbstractSocket::SocketOption option) | Coverage: | 61.905% (13/21) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1999-2037 |
| | 21 | 10 |
setSocketOptionName: | QAbstractSocket::setSocketOption | Prototype: | void QAbstractSocket::setSocketOption(QAbstractSocket::SocketOption option, const QVariant &value) | Coverage: | 66.667% (12/18) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1957-1991 |
| | 17 | 9 |
readDataName: | QAbstractSocket::readData | Prototype: | qint64 QAbstractSocket::readData(char *data, qint64 maxSize) | Coverage: | 95.238% (20/21) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2452-2481 |
| | 14 | 5 |
abortName: | QAbstractSocket::abort | Prototype: | void QAbstractSocket::abort() | Coverage: | 100.000% (10/10) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2373-2396 |
| | 13 | 4 |
setReadBufferSizeName: | QAbstractSocket::setReadBufferSize | Prototype: | void QAbstractSocket::setReadBufferSize(qint64 size) | Coverage: | 93.750% (15/16) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2823-2837 |
| | 7 | 4 |
flushName: | QAbstractSocket::flush | Prototype: | bool QAbstractSocket::flush() | Coverage: | 100.000% (7/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2437-2448 |
| | 5 | 3 |
bytesAvailableName: | QAbstractSocket::bytesAvailable | Prototype: | qint64 QAbstractSocket::bytesAvailable() const | Coverage: | 87.500% (7/8) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1762-1774 |
| | 5 | 2 |
closeName: | QAbstractSocket::close | Prototype: | void QAbstractSocket::close() | Coverage: | 100.000% (4/4) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2666-2675 |
| | 4 | 2 |
~QAbstractSocketName: | QAbstractSocket::~QAbstractSocket | Prototype: | QAbstractSocket::~QAbstractSocket() | Coverage: | 100.000% (4/4) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1441-1449 |
| | 3 | 2 |
socketDescriptorName: | QAbstractSocket::socketDescriptor | Prototype: | qintptr QAbstractSocket::socketDescriptor() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1868-1872 |
| | 2 | 1 |
setProxyName: | QAbstractSocket::setProxy | Prototype: | void QAbstractSocket::setProxy(const QNetworkProxy &networkProxy) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2909-2913 |
| | 2 | 1 |
setPeerPortName: | QAbstractSocket::setPeerPort | Prototype: | void QAbstractSocket::setPeerPort(quint16 port) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2614-2618 |
| | 2 | 1 |
setPeerNameName: | QAbstractSocket::setPeerName | Prototype: | void QAbstractSocket::setPeerName(const QString &name) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2651-2655 |
| | 2 | 1 |
setPeerAddressName: | QAbstractSocket::setPeerAddress | Prototype: | void QAbstractSocket::setPeerAddress(const QHostAddress &address) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2633-2637 |
| | 2 | 1 |
setLocalPortName: | QAbstractSocket::setLocalPort | Prototype: | void QAbstractSocket::setLocalPort(quint16 port) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2573-2577 |
| | 2 | 1 |
setLocalAddressName: | QAbstractSocket::setLocalAddress | Prototype: | void QAbstractSocket::setLocalAddress(const QHostAddress &address) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2595-2599 |
| | 2 | 1 |
proxyName: | QAbstractSocket::proxy | Prototype: | QNetworkProxy QAbstractSocket::proxy() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2924-2928 |
| | 2 | 1 |
peerPortName: | QAbstractSocket::peerPort | Prototype: | quint16 QAbstractSocket::peerPort() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1810-1814 |
| | 2 | 1 |
peerNameName: | QAbstractSocket::peerName | Prototype: | QString QAbstractSocket::peerName() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1834-1838 |
| | 2 | 1 |
peerAddressName: | QAbstractSocket::peerAddress | Prototype: | QHostAddress QAbstractSocket::peerAddress() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1822-1826 |
| | 2 | 1 |
localPortName: | QAbstractSocket::localPort | Prototype: | quint16 QAbstractSocket::localPort() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1782-1786 |
| | 2 | 1 |
localAddressName: | QAbstractSocket::localAddress | Prototype: | QHostAddress QAbstractSocket::localAddress() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1798-1802 |
| | 2 | 1 |
canReadLineName: | QAbstractSocket::canReadLine | Prototype: | bool QAbstractSocket::canReadLine() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1846-1854 |
| | 2 | 1 |
bytesToWriteName: | QAbstractSocket::bytesToWrite | Prototype: | qint64 QAbstractSocket::bytesToWrite() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1748-1755 |
| | 2 | 1 |
bindName: | QAbstractSocket::bind | Prototype: | bool QAbstractSocket::bind(const QHostAddress &address, quint16 port, BindMode mode) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1522-1526 |
| | 2 | 1 |
QAbstractSocketName: | QAbstractSocket::QAbstractSocket | Prototype: | QAbstractSocket::QAbstractSocket(SocketType socketType, QAbstractSocketPrivate &dd, QObject *parent) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1409-1420 |
| | 2 | 1 |
QAbstractSocketName: | QAbstractSocket::QAbstractSocket | Prototype: | QAbstractSocket::QAbstractSocket(SocketType socketType, QObject *parent) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1428-1436 |
| | 2 | 1 |
stateName: | QAbstractSocket::state | Prototype: | QAbstractSocket::SocketState QAbstractSocket::state() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2844-2847 |
| | 1 | 1 |
socketTypeName: | QAbstractSocket::socketType | Prototype: | QAbstractSocket::SocketType QAbstractSocket::socketType() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2864-2867 |
| | 1 | 1 |
setSocketStateName: | QAbstractSocket::setSocketState | Prototype: | void QAbstractSocket::setSocketState(SocketState state) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2854-2857 |
| | 1 | 1 |
setSocketErrorName: | QAbstractSocket::setSocketError | Prototype: | void QAbstractSocket::setSocketError(SocketError socketError) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2884-2887 |
| | 1 | 1 |
setPauseModeName: | QAbstractSocket::setPauseMode | Prototype: | void QAbstractSocket::setPauseMode(PauseModes pauseMode) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1495-1498 |
| | 1 | 1 |
resumeName: | QAbstractSocket::resume | Prototype: | void QAbstractSocket::resume() | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1463-1466 |
| | 1 | 1 |
readLineDataName: | QAbstractSocket::readLineData | Prototype: | qint64 QAbstractSocket::readLineData(char *data, qint64 maxlen) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2485-2488 |
| | 1 | 1 |
readBufferSizeName: | QAbstractSocket::readBufferSize | Prototype: | qint64 QAbstractSocket::readBufferSize() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2796-2799 |
| | 1 | 1 |
pauseModeName: | QAbstractSocket::pauseMode | Prototype: | QAbstractSocket::PauseModes QAbstractSocket::pauseMode() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1475-1478 |
| | 1 | 1 |
isValidName: | QAbstractSocket::isValid | Prototype: | bool QAbstractSocket::isValid() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1604-1607 |
| | 1 | 1 |
isSequentialName: | QAbstractSocket::isSequential | Prototype: | bool QAbstractSocket::isSequential() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2400-2403 |
| | 1 | 1 |
errorName: | QAbstractSocket::error | Prototype: | QAbstractSocket::SocketError QAbstractSocket::error() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2874-2877 |
| | 1 | 1 |
connectToHostName: | QAbstractSocket::connectToHost | Prototype: | void QAbstractSocket::connectToHost(const QHostAddress &address, quint16 port, OpenMode openMode) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1731-1739 |
| | 1 | 1 |
bindName: | QAbstractSocket::bind | Prototype: | bool QAbstractSocket::bind(quint16 port, BindMode mode) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 1590-1593 |
| | 1 | 1 |
atEndName: | QAbstractSocket::atEnd | Prototype: | bool QAbstractSocket::atEnd() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qabstractsocket.cpp | Lines: | 2417-2420 |
| | 1 | 1 |