OpenCoverage

Qt Quick Test Coverage

Function Tree

Path:<top>::QQmlDebugConnection
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
connected
Name: QQmlDebugConnection::connected
Prototype: void QQmlDebugConnection::connected()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/.moc/moc_qqmldebugconnection_p.cpp
Lines: 181-184
100.000% (1/1)
11
d_func
Name: QQmlDebugConnection::d_func
Prototype: inline QQmlDebugConnectionPrivate* d_func()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection_p.h
Lines: 65-65
100.000% (1/1)
11
d_func
Name: QQmlDebugConnection::d_func
Prototype: inline const QQmlDebugConnectionPrivate* d_func() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection_p.h
Lines: 65-65
100.000% (1/1)
11
disconnected
Name: QQmlDebugConnection::disconnected
Prototype: void QQmlDebugConnection::disconnected()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/.moc/moc_qqmldebugconnection_p.cpp
Lines: 187-190
100.000% (1/1)
11
QQmlDebugConnection
Name: QQmlDebugConnection::QQmlDebugConnection
Prototype: QQmlDebugConnection::QQmlDebugConnection(QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 250-255
100.000% (1/1)
21
client
Name: QQmlDebugConnection::client
Prototype: QQmlDebugClient *QQmlDebugConnection::client(const QString &name) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 324-328
100.000% (1/1)
21
currentDataStreamVersion
Name: QQmlDebugConnection::currentDataStreamVersion
Prototype: int QQmlDebugConnection::currentDataStreamVersion() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 265-269
100.000% (1/1)
21
isConnected
Name: QQmlDebugConnection::isConnected
Prototype: bool QQmlDebugConnection::isConnected() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 277-281
100.000% (1/1)
21
isConnecting
Name: QQmlDebugConnection::isConnecting
Prototype: bool QQmlDebugConnection::isConnecting() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 283-287
  0.000% (0/1)
21
serviceVersion
Name: QQmlDebugConnection::serviceVersion
Prototype: float QQmlDebugConnection::serviceVersion(const QString &serviceName) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 352-356
100.000% (1/1)
21
setMaximumDataStreamVersion
Name: QQmlDebugConnection::setMaximumDataStreamVersion
Prototype: void QQmlDebugConnection::setMaximumDataStreamVersion(int maximumVersion)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 271-275
100.000% (1/1)
21
socketError
Name: QQmlDebugConnection::socketError
Prototype: void QQmlDebugConnection::socketError(QAbstractSocket::SocketError _t1)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/.moc/moc_qqmldebugconnection_p.cpp
Lines: 193-197
100.000% (1/1)
21
socketStateChanged
Name: QQmlDebugConnection::socketStateChanged
Prototype: void QQmlDebugConnection::socketStateChanged(QAbstractSocket::SocketState _t1)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/.moc/moc_qqmldebugconnection_p.cpp
Lines: 200-204
100.000% (1/1)
21
socketDisconnected
Name: QQmlDebugConnection::socketDisconnected
Prototype: void QQmlDebugConnection::socketDisconnected()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 112-117
100.000% (1/1)
31
handshakeTimeout
Name: QQmlDebugConnection::handshakeTimeout
Prototype: void QQmlDebugConnection::handshakeTimeout()
Coverage:  75.000% (3/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 241-248
 75.000% (3/4)
42
~QQmlDebugConnection
Name: QQmlDebugConnection::~QQmlDebugConnection
Prototype: QQmlDebugConnection::~QQmlDebugConnection()
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 257-263
100.000% (4/4)
42
socketConnected
Name: QQmlDebugConnection::socketConnected
Prototype: void QQmlDebugConnection::socketConnected()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 102-110
100.000% (1/1)
61
addClient
Name: QQmlDebugConnection::addClient
Prototype: bool QQmlDebugConnection::addClient(const QString &name, QQmlDebugClient *client)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 330-339
100.000% (4/4)
72
removeClient
Name: QQmlDebugConnection::removeClient
Prototype: bool QQmlDebugConnection::removeClient(const QString &name)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 341-350
 50.000% (2/4)
72
sendMessage
Name: QQmlDebugConnection::sendMessage
Prototype: bool QQmlDebugConnection::sendMessage(const QString &name, const QByteArray &message)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 358-370
 50.000% (3/6)
82
startLocalServer
Name: QQmlDebugConnection::startLocalServer
Prototype: void QQmlDebugConnection::startLocalServer(const QString &fileName)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 396-408
 42.857% (3/7)
93
close
Name: QQmlDebugConnection::close
Prototype: void QQmlDebugConnection::close()
Coverage:  60.000% (6/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 289-305
 60.000% (6/10)
104
waitForConnected
Name: QQmlDebugConnection::waitForConnected
Prototype: bool QQmlDebugConnection::waitForConnected(int msecs)
Coverage:  57.143% (8/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 307-322
 57.143% (8/14)
114
connectToHost
Name: QQmlDebugConnection::connectToHost
Prototype: void QQmlDebugConnection::connectToHost(const QString &hostName, quint16 port)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 380-394
 50.000% (2/4)
122
newConnection
Name: QQmlDebugConnection::newConnection
Prototype: void QQmlDebugConnection::newConnection()
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 437-453
100.000% (1/1)
131
protocolReadyRead
Name: QQmlDebugConnection::protocolReadyRead
Prototype: void QQmlDebugConnection::protocolReadyRead()
Coverage:  52.239% (35/67)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmldebugconnection.cpp
Lines: 119-239
 52.239% (35/67)
8323

Generated by Squish Coco 4.2.0