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

Function Tree

Path:<top>::QLocalSocket
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
~QLocalSocket
Name: QLocalSocket::~QLocalSocket
Prototype: QLocalSocket::~QLocalSocket()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket.cpp
Lines: 357-364
100.000% (1/1)
31
writeData
Name: QLocalSocket::writeData
Prototype: qint64 QLocalSocket::writeData(const char *data, qint64 c)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 399-403
100.000% (1/1)
21
waitForReadyRead
Name: QLocalSocket::waitForReadyRead
Prototype: bool QLocalSocket::waitForReadyRead(int msecs)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 549-555
100.000% (4/4)
42
waitForDisconnected
Name: QLocalSocket::waitForDisconnected
Prototype: bool QLocalSocket::waitForDisconnected(int msecs)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 539-547
100.000% (4/4)
52
waitForBytesWritten
Name: QLocalSocket::waitForBytesWritten
Prototype: bool QLocalSocket::waitForBytesWritten(int msecs)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 444-448
100.000% (1/1)
21
state
Name: QLocalSocket::state
Prototype: QLocalSocket::LocalSocketState QLocalSocket::state() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket.cpp
Lines: 438-442
100.000% (1/1)
21
socketDescriptor
Name: QLocalSocket::socketDescriptor
Prototype: qintptr QLocalSocket::socketDescriptor() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 387-391
100.000% (1/1)
21
setReadBufferSize
Name: QLocalSocket::setReadBufferSize
Prototype: void QLocalSocket::setReadBufferSize(qint64 size)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 507-511
100.000% (1/1)
21
serverName
Name: QLocalSocket::serverName
Prototype: QString QLocalSocket::serverName() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket.cpp
Lines: 414-418
100.000% (1/1)
21
readData
Name: QLocalSocket::readData
Prototype: qint64 QLocalSocket::readData(char *data, qint64 c)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 393-397
100.000% (1/1)
21
readBufferSize
Name: QLocalSocket::readBufferSize
Prototype: qint64 QLocalSocket::readBufferSize() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 501-505
100.000% (1/1)
21
open
Name: QLocalSocket::open
Prototype: bool QLocalSocket::open(OpenMode openMode)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket.cpp
Lines: 366-370
100.000% (1/1)
21
isValid
Name: QLocalSocket::isValid
Prototype: bool QLocalSocket::isValid() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 495-499
100.000% (1/1)
21
isSequential
Name: QLocalSocket::isSequential
Prototype: bool QLocalSocket::isSequential() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket.cpp
Lines: 446-449
100.000% (1/1)
11
fullServerName
Name: QLocalSocket::fullServerName
Prototype: QString QLocalSocket::fullServerName() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket.cpp
Lines: 427-431
100.000% (1/1)
21
flush
Name: QLocalSocket::flush
Prototype: bool QLocalSocket::flush()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 450-454
100.000% (1/1)
21
disconnectFromServer
Name: QLocalSocket::disconnectFromServer
Prototype: void QLocalSocket::disconnectFromServer()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 456-460
100.000% (1/1)
21
connectToServer
Name: QLocalSocket::connectToServer
Prototype: void QLocalSocket::connectToServer(const QString &name, OpenMode openMode)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket.cpp
Lines: 383-387
100.000% (1/1)
21
close
Name: QLocalSocket::close
Prototype: void QLocalSocket::close()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 429-442
100.000% (4/4)
112
canReadLine
Name: QLocalSocket::canReadLine
Prototype: bool QLocalSocket::canReadLine() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 423-427
100.000% (1/1)
21
bytesToWrite
Name: QLocalSocket::bytesToWrite
Prototype: qint64 QLocalSocket::bytesToWrite() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 417-421
100.000% (1/1)
21
bytesAvailable
Name: QLocalSocket::bytesAvailable
Prototype: qint64 QLocalSocket::bytesAvailable() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 411-415
100.000% (1/1)
21
abort
Name: QLocalSocket::abort
Prototype: void QLocalSocket::abort()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 405-409
100.000% (1/1)
21
QLocalSocket
Name: QLocalSocket::QLocalSocket
Prototype: QLocalSocket::QLocalSocket(QObject * parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket.cpp
Lines: 347-352
100.000% (1/1)
21
connectToServer
Name: QLocalSocket::connectToServer
Prototype: void QLocalSocket::connectToServer(OpenMode openMode)
Coverage:  58.333% (7/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 222-255
 58.333% (7/12)
224
setSocketDescriptor
Name: QLocalSocket::setSocketDescriptor
Prototype: bool QLocalSocket::setSocketDescriptor(qintptr socketDescriptor, LocalSocketState socketState, OpenMode openMode)
Coverage:  55.556% (5/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 344-367
 55.556% (5/9)
155
setServerName
Name: QLocalSocket::setServerName
Prototype: void QLocalSocket::setServerName(const QString & name)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket.cpp
Lines: 397-405
 50.000% (2/4)
52
error
Name: QLocalSocket::error
Prototype: QLocalSocket::LocalSocketError QLocalSocket::error() const
Coverage:  34.783% (8/23)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 462-493
 34.783% (8/23)
1412
waitForConnected
Name: QLocalSocket::waitForConnected
Prototype: bool QLocalSocket::waitForConnected(int msec)
Coverage:  11.765% (2/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/socket/qlocalsocket_unix.cpp
Lines: 513-537
 11.765% (2/17)
155

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