QtBase - 2016-12-13 07:58:44 +0000

Function Tree

Path:<top>::QAbstractSocket
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–¾
waitForConnected
Name: 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
 83.333% (40/48)
4212
waitForBytesWritten
Name: 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
 41.176% (14/34)
3012
disconnectFromHost
Name: 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
 98.000% (49/50)
3912
waitForReadyRead
Name: 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
 89.189% (33/37)
2511
waitForDisconnected
Name: 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
 77.419% (24/31)
2811
connectToHost
Name: 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
 86.486% (32/37)
5411
socketOption
Name: 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
 61.905% (13/21)
2110
setSocketDescriptor
Name: 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
 72.414% (21/29)
3910
writeData
Name: 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
 81.395% (35/43)
289
setSocketOption
Name: 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
 66.667% (12/18)
179
readData
Name: 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
 95.238% (20/21)
145
setReadBufferSize
Name: 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
 93.750% (15/16)
74
abort
Name: 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
100.000% (10/10)
134
flush
Name: 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
100.000% (7/7)
53
~QAbstractSocket
Name: 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
100.000% (4/4)
32
close
Name: 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
100.000% (4/4)
42
bytesAvailable
Name: 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
 87.500% (7/8)
52
state
Name: 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
100.000% (1/1)
11
socketType
Name: 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
100.000% (1/1)
11
socketDescriptor
Name: 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
100.000% (1/1)
21
setSocketState
Name: 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
100.000% (1/1)
11
setSocketError
Name: 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
100.000% (1/1)
11
setProxy
Name: 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
100.000% (1/1)
21
setPeerPort
Name: 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
100.000% (1/1)
21
setPeerName
Name: 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
100.000% (1/1)
21
setPeerAddress
Name: 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
100.000% (1/1)
21
setPauseMode
Name: 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
100.000% (1/1)
11
setLocalPort
Name: 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
100.000% (1/1)
21
setLocalAddress
Name: 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
100.000% (1/1)
21
resume
Name: 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
100.000% (1/1)
11
readLineData
Name: 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
100.000% (1/1)
11
readBufferSize
Name: 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
100.000% (1/1)
11
proxy
Name: 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
100.000% (1/1)
21
peerPort
Name: 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
100.000% (1/1)
21
peerName
Name: 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
100.000% (1/1)
21
peerAddress
Name: 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
100.000% (1/1)
21
pauseMode
Name: 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
100.000% (1/1)
11
localPort
Name: 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
100.000% (1/1)
21
localAddress
Name: 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
100.000% (1/1)
21
isValid
Name: 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
100.000% (1/1)
11
isSequential
Name: 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
100.000% (1/1)
11
error
Name: 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
100.000% (1/1)
11
connectToHost
Name: 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
100.000% (1/1)
11
canReadLine
Name: 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
100.000% (1/1)
21
bytesToWrite
Name: 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
100.000% (1/1)
21
bind
Name: 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
100.000% (1/1)
11
bind
Name: 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
100.000% (1/1)
21
atEnd
Name: 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
100.000% (1/1)
11
QAbstractSocket
Name: 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
100.000% (1/1)
21
QAbstractSocket
Name: 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
100.000% (1/1)
21

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9