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

Functions

Page:<>1
McCabe - Cyclomatic Complexity: 439
...90
McCabe - Cyclomatic Complexity: 3
...100
McCabe - Cyclomatic Complexity: 2
...110
McCabe - Cyclomatic Complexity: 2
...116
McCabe - Cyclomatic Complexity: 2
117
McCabe - Cyclomatic Complexity: 2
118
McCabe - Cyclomatic Complexity: 2
119
McCabe - Cyclomatic Complexity: 2
120121
McCabe - Cyclomatic Complexity: 2
122
McCabe - Cyclomatic Complexity: 2
123
McCabe - Cyclomatic Complexity: 2
124
McCabe - Cyclomatic Complexity: 2
...130
McCabe - Cyclomatic Complexity: 2
...140
McCabe - Cyclomatic Complexity: 2
...150
McCabe - Cyclomatic Complexity: 2
...200
McCabe - Cyclomatic Complexity: 1
...300
McCabe - Cyclomatic Complexity: 1
...306
McCabe - Cyclomatic Complexity: 1
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–¾
QSslSocketBackendPrivate::startServerEncryption
Name: QSslSocketBackendPrivate::startServerEncryption
Prototype: void QSslSocketBackendPrivate::startServerEncryption()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 781-793
100.000% (4/4)
62
QSslSocketBackendPrivate::startClientEncryption
Name: QSslSocketBackendPrivate::startClientEncryption
Prototype: void QSslSocketBackendPrivate::startClientEncryption()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 767-779
100.000% (4/4)
62
QSslSocketBackendPrivate::sessionCipher
Name: QSslSocketBackendPrivate::sessionCipher
Prototype: QSslCipher QSslSocketBackendPrivate::sessionCipher() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 1478-1491
100.000% (4/4)
42
QSslSocketBackendPrivate::disconnected
Name: QSslSocketBackendPrivate::disconnected
Prototype: void QSslSocketBackendPrivate::disconnected()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 1463-1476
100.000% (4/4)
62
QSslSocketBackendPrivate::destroySslContext
Name: QSslSocketBackendPrivate::destroySslContext
Prototype: void QSslSocketBackendPrivate::destroySslContext()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket_openssl.cpp
Lines: 446-453
100.000% (4/4)
42
QSslSocket::writeData
Name: QSslSocket::writeData
Prototype: qint64 QSslSocket::writeData(const char *data, qint64 len)
Coverage: 100.000% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2003-2018
100.000% (6/6)
62
QSslSocket::socketOption
Name: QSslSocket::socketOption
Prototype: QVariant QSslSocket::socketOption(QAbstractSocket::SocketOption option)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 540-547
  0.000% (0/4)
42
QSslSocket::setSslConfiguration
Name: QSslSocket::setSslConfiguration
Prototype: void QSslSocket::setSslConfiguration(const QSslConfiguration &configuration)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 920-943
100.000% (4/4)
172
QSslSocket::setSocketOption
Name: QSslSocket::setSocketOption
Prototype: void QSslSocket::setSocketOption(QAbstractSocket::SocketOption option, const QVariant &value)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 527-532
 75.000% (3/4)
32
QSslSocket::setSocketDescriptor
Name: QSslSocket::setSocketDescriptor
Prototype: bool QSslSocket::setSocketDescriptor(qintptr socketDescriptor, SocketState state, OpenMode openMode)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 497-519
 75.000% (3/4)
162
QSslSocket::setReadBufferSize
Name: QSslSocket::setReadBufferSize
Prototype: void QSslSocket::setReadBufferSize(qint64 size)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 856-863
100.000% (4/4)
42
QSslSocket::setPrivateKey
Name: QSslSocket::setPrivateKey
Prototype: void QSslSocket::setPrivateKey(const QString &fileName, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat format, const QByteArray &passPhrase)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 1154-1163
 75.000% (3/4)
52
QSslSocket::setLocalCertificate
Name: QSslSocket::setLocalCertificate
Prototype: void QSslSocket::setLocalCertificate(const QString &path, QSsl::EncodingFormat format)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 997-1004
 75.000% (3/4)
32
QSslSocket::localCertificate
Name: QSslSocket::localCertificate
Prototype: QSslCertificate QSslSocket::localCertificate() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 1012-1018
100.000% (4/4)
42
QSslSocket::flush
Name: QSslSocket::flush
Prototype: bool QSslSocket::flush()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 838-849
100.000% (4/4)
42
QSslSocket::encryptedBytesToWrite
Name: QSslSocket::encryptedBytesToWrite
Prototype: qint64 QSslSocket::encryptedBytesToWrite() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 770-776
100.000% (4/4)
42
QSslSocket::encryptedBytesAvailable
Name: QSslSocket::encryptedBytesAvailable
Prototype: qint64 QSslSocket::encryptedBytesAvailable() const
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 756-762
  0.000% (0/4)
42
QSslSocket::canReadLine
Name: QSslSocket::canReadLine
Prototype: bool QSslSocket::canReadLine() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 784-790
100.000% (4/4)
42
QSslSocket::bytesToWrite
Name: QSslSocket::bytesToWrite
Prototype: qint64 QSslSocket::bytesToWrite() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 741-747
100.000% (4/4)
42
QSslSocket::bytesAvailable
Name: QSslSocket::bytesAvailable
Prototype: qint64 QSslSocket::bytesAvailable() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 727-733
100.000% (4/4)
42
QSslSocket::atEnd
Name: QSslSocket::atEnd
Prototype: bool QSslSocket::atEnd() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 815-821
 50.000% (2/4)
42
QSslSocket::addCaCertificates
Name: QSslSocket::addCaCertificates
Prototype: bool QSslSocket::addCaCertificates(const QString &path, QSsl::EncodingFormat format, QRegExp::PatternSyntax syntax)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 1335-1345
 50.000% (2/4)
62
QSslSocket::abort
Name: QSslSocket::abort
Prototype: void QSslSocket::abort()
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 872-881
 75.000% (3/4)
42
QSslKey::QSslKey
Name: QSslKey::QSslKey
Prototype: QSslKey::QSslKey(const QByteArray &encoded, QSsl::KeyAlgorithm algorithm, QSsl::EncodingFormat encoding, QSsl::KeyType type, const QByteArray &passPhrase)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslkey_p.cpp
Lines: 236-246
100.000% (4/4)
52
QSslEllipticCurve::shortName
Name: QSslEllipticCurve::shortName
Prototype: QString QSslEllipticCurve::shortName() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslellipticcurve_openssl.cpp
Lines: 51-59
100.000% (4/4)
42
QSslEllipticCurve::longName
Name: QSslEllipticCurve::longName
Prototype: QString QSslEllipticCurve::longName() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslellipticcurve_openssl.cpp
Lines: 61-69
100.000% (4/4)
42
QSslEllipticCurve::fromShortName
Name: QSslEllipticCurve::fromShortName
Prototype: QSslEllipticCurve QSslEllipticCurve::fromShortName(const QString &name)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslellipticcurve_openssl.cpp
Lines: 71-94
100.000% (4/4)
82
QSslEllipticCurve::fromLongName
Name: QSslEllipticCurve::fromLongName
Prototype: QSslEllipticCurve QSslEllipticCurve::fromLongName(const QString &name)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslellipticcurve_openssl.cpp
Lines: 96-113
100.000% (4/4)
82
QSslConfigurationPrivate::setDefaultConfiguration
Name: QSslConfigurationPrivate::setDefaultConfiguration
Prototype: void QSslConfigurationPrivate::setDefaultConfiguration(const QSslConfiguration &configuration)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2203-2211
 50.000% (2/4)
52
QSslConfigurationPrivate::deepCopyDefaultConfiguration
Name: QSslConfigurationPrivate::deepCopyDefaultConfiguration
Prototype: void QSslConfigurationPrivate::deepCopyDefaultConfiguration(QSslConfigurationPrivate *ptr)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslsocket.cpp
Lines: 2216-2239
 50.000% (2/4)
192
QSslConfiguration::operator==
Name: QSslConfiguration::operator==
Prototype: bool QSslConfiguration::operator==(const QSslConfiguration &other) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslconfiguration.cpp
Lines: 202-226
100.000% (4/4)
222
QSslConfiguration::localCertificate
Name: QSslConfiguration::localCertificate
Prototype: QSslCertificate QSslConfiguration::localCertificate() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslconfiguration.cpp
Lines: 408-413
100.000% (4/4)
32
QSslCertificatePrivate::asn1ObjectName
Name: QSslCertificatePrivate::asn1ObjectName
Prototype: QByteArray QSslCertificatePrivate::asn1ObjectName(ASN1_OBJECT *object)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcertificate_openssl.cpp
Lines: 591-598
100.000% (4/4)
42
QSslCertificatePrivate::QSslCertificate_from_X509
Name: QSslCertificatePrivate::QSslCertificate_from_X509
Prototype: QSslCertificate QSslCertificatePrivate::QSslCertificate_from_X509(X509 *x509)
Coverage:  83.333% (5/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcertificate_openssl.cpp
Lines: 616-630
 83.333% (5/6)
102
QSslCertificate::version
Name: QSslCertificate::version
Prototype: QByteArray QSslCertificate::version() const
Coverage: 100.000% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcertificate_openssl.cpp
Lines: 88-96
100.000% (6/6)
52
QSslCertificate::toText
Name: QSslCertificate::toText
Prototype: QString QSslCertificate::toText() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcertificate_openssl.cpp
Lines: 497-502
 50.000% (2/4)
32
QSslCertificate::toPem
Name: QSslCertificate::toPem
Prototype: QByteArray QSslCertificate::toPem() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcertificate_openssl.cpp
Lines: 483-488
 50.000% (2/4)
32
QSslCertificate::toDer
Name: QSslCertificate::toDer
Prototype: QByteArray QSslCertificate::toDer() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcertificate_openssl.cpp
Lines: 490-495
100.000% (4/4)
32
QSslCertificate::subjectInfoAttributes
Name: QSslCertificate::subjectInfoAttributes
Prototype: QList<QByteArray> QSslCertificate::subjectInfoAttributes() const
Coverage:  83.333% (5/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcertificate_openssl.cpp
Lines: 159-168
 83.333% (5/6)
52
QSslCertificate::subjectInfo
Name: QSslCertificate::subjectInfo
Prototype: QStringList QSslCertificate::subjectInfo(const QByteArray &attribute) const
Coverage:  83.333% (5/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcertificate_openssl.cpp
Lines: 148-157
 83.333% (5/6)
52
QSslCertificate::subjectInfo
Name: QSslCertificate::subjectInfo
Prototype: QStringList QSslCertificate::subjectInfo(SubjectInfo info) const
Coverage: 100.000% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcertificate_openssl.cpp
Lines: 137-146
100.000% (6/6)
52
QSslCertificate::issuerInfoAttributes
Name: QSslCertificate::issuerInfoAttributes
Prototype: QList<QByteArray> QSslCertificate::issuerInfoAttributes() const
Coverage:  33.333% (2/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcertificate_openssl.cpp
Lines: 170-179
 33.333% (2/6)
52
QSslCertificate::issuerInfo
Name: QSslCertificate::issuerInfo
Prototype: QStringList QSslCertificate::issuerInfo(const QByteArray &attribute) const
Coverage:  83.333% (5/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcertificate_openssl.cpp
Lines: 126-135
 83.333% (5/6)
52
QSslCertificate::issuerInfo
Name: QSslCertificate::issuerInfo
Prototype: QStringList QSslCertificate::issuerInfo(SubjectInfo info) const
Coverage: 100.000% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcertificate_openssl.cpp
Lines: 115-124
100.000% (6/6)
52
QSslCertificate::isSelfSigned
Name: QSslCertificate::isSelfSigned
Prototype: bool QSslCertificate::isSelfSigned() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcertificate_openssl.cpp
Lines: 80-86
100.000% (4/4)
32
QSslCertificate::clear
Name: QSslCertificate::clear
Prototype: void QSslCertificate::clear()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcertificate.cpp
Lines: 267-272
100.000% (4/4)
32
QSslCertificate::QSslCertificate
Name: QSslCertificate::QSslCertificate
Prototype: QSslCertificate::QSslCertificate(QIODevice *device, QSsl::EncodingFormat format)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/ssl/qsslcertificate.cpp
Lines: 142-148
 75.000% (3/4)
32
QSqlTableModelPrivate::strippedFieldName
Name: QSqlTableModelPrivate::strippedFieldName
Prototype: QString QSqlTableModelPrivate::strippedFieldName(const QString &name) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp
Lines: 74-80
100.000% (4/4)
42
QSqlTableModelPrivate::record
Name: QSqlTableModelPrivate::record
Prototype: QSqlRecord QSqlTableModelPrivate::record(const QVector<QVariant> &values) const
Coverage:  0.000% (0/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp
Lines: 61-67
  0.000% (0/6)
42
QSqlTableModel::updateRowInTable
Name: QSqlTableModel::updateRowInTable
Prototype: bool QSqlTableModel::updateRowInTable(int row, const QSqlRecord &values)
Coverage:  50.000% (5/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp
Lines: 626-646
 50.000% (5/10)
142
QSqlTableModel::submit
Name: QSqlTableModel::submit
Prototype: bool QSqlTableModel::submit()
Coverage: 100.000% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp
Lines: 807-813
100.000% (6/6)
42
QSqlTableModel::setFilter
Name: QSqlTableModel::setFilter
Prototype: void QSqlTableModel::setFilter(const QString &filter)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp
Lines: 1259-1265
100.000% (4/4)
42
QSqlTableModel::rowCount
Name: QSqlTableModel::rowCount
Prototype: int QSqlTableModel::rowCount(const QModelIndex &parent) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp
Lines: 1204-1212
100.000% (4/4)
42
QSqlTableModel::revertRow
Name: QSqlTableModel::revertRow
Prototype: void QSqlTableModel::revertRow(int row)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp
Lines: 897-904
 50.000% (2/4)
42
QSqlTableModel::revertAll
Name: QSqlTableModel::revertAll
Prototype: void QSqlTableModel::revertAll()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp
Lines: 883-890
100.000% (4/4)
42
QSqlTableModel::revert
Name: QSqlTableModel::revert
Prototype: void QSqlTableModel::revert()
Coverage: 100.000% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp
Lines: 828-833
100.000% (6/6)
32
QSqlTableModel::primaryValues
Name: QSqlTableModel::primaryValues
Prototype: QSqlRecord QSqlTableModel::primaryValues(int row) const
Coverage: 100.000% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp
Lines: 1437-1448
100.000% (6/6)
62
QSqlTableModel::orderByClause
Name: QSqlTableModel::orderByClause
Prototype: QString QSqlTableModel::orderByClause() const
Coverage: 100.000% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp
Lines: 975-988
100.000% (6/6)
82
QSqlTableModel::insertRowIntoTable
Name: QSqlTableModel::insertRowIntoTable
Prototype: bool QSqlTableModel::insertRowIntoTable(const QSqlRecord &values)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp
Lines: 662-679
100.000% (4/4)
112
QSqlTableModel::indexInQuery
Name: QSqlTableModel::indexInQuery
Prototype: QModelIndex QSqlTableModel::indexInQuery(const QModelIndex &item) const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp
Lines: 1226-1234
 50.000% (2/4)
52
QSqlTableModel::deleteRowFromTable
Name: QSqlTableModel::deleteRowFromTable
Prototype: bool QSqlTableModel::deleteRowFromTable(int row)
Coverage:  50.000% (3/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp
Lines: 693-716
 50.000% (3/6)
172
QSqlResultPrivate::fieldSerial
Name: QSqlResultPrivate::fieldSerial
Prototype: QString QSqlResultPrivate::fieldSerial(int i) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlresult.cpp
Lines: 63-79
100.000% (4/4)
102
QSqlResult::setActive
Name: QSqlResult::setActive
Prototype: void QSqlResult::setActive(bool active)
Coverage: 100.000% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlresult.cpp
Lines: 386-393
100.000% (6/6)
42
QSqlResult::prepare
Name: QSqlResult::prepare
Prototype: bool QSqlResult::prepare(const QString& query)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlresult.cpp
Lines: 611-620
100.000% (4/4)
52
QSqlResult::QSqlResult
Name: QSqlResult::QSqlResult
Prototype: QSqlResult::QSqlResult(QSqlResultPrivate &dd)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlresult.cpp
Lines: 235-241
 75.000% (3/4)
32
QSqlResult::QSqlResult
Name: QSqlResult::QSqlResult
Prototype: QSqlResult::QSqlResult(const QSqlDriver *db)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlresult.cpp
Lines: 225-231
 75.000% (3/4)
42
QSqlRelationalTableModelPrivate::nameToIndex
Name: QSqlRelationalTableModelPrivate::nameToIndex
Prototype: int QSqlRelationalTableModelPrivate::nameToIndex(const QString &name) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlrelationaltablemodel.cpp
Lines: 295-304
100.000% (4/4)
52
QSqlRelationalTableModelPrivate::clearChanges
Name: QSqlRelationalTableModelPrivate::clearChanges
Prototype: void QSqlRelationalTableModelPrivate::clearChanges()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlrelationaltablemodel.cpp
Lines: 282-288
100.000% (4/4)
32
QSqlRelationalTableModelPrivate::clearCache
Name: QSqlRelationalTableModelPrivate::clearCache
Prototype: void QSqlRelationalTableModelPrivate::clearCache()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlrelationaltablemodel.cpp
Lines: 309-315
100.000% (4/4)
32
QSqlRelationalTableModel::orderByClause
Name: QSqlRelationalTableModel::orderByClause
Prototype: QString QSqlRelationalTableModel::orderByClause() const
Coverage: 100.000% (6/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlrelationaltablemodel.cpp
Lines: 756-767
100.000% (6/6)
72
QSqlRecordPrivate::createField
Name: QSqlRecordPrivate::createField
Prototype: QString QSqlRecordPrivate::createField(int index, const QString &prefix) const
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlrecord.cpp
Lines: 75-82
  0.000% (0/4)
52
QSqlRecord::~QSqlRecord
Name: QSqlRecord::~QSqlRecord
Prototype: QSqlRecord::~QSqlRecord()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlrecord.cpp
Lines: 159-163
100.000% (4/4)
22
QSqlRecord::setValue
Name: QSqlRecord::setValue
Prototype: void QSqlRecord::setValue(int index, const QVariant& val)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlrecord.cpp
Lines: 486-492
100.000% (4/4)
42
QSqlRecord::setNull
Name: QSqlRecord::setNull
Prototype: void QSqlRecord::setNull(int index)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlrecord.cpp
Lines: 425-431
100.000% (4/4)
42
QSqlRecord::setGenerated
Name: QSqlRecord::setGenerated
Prototype: void QSqlRecord::setGenerated(int index, bool generated)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlrecord.cpp
Lines: 389-395
100.000% (4/4)
42
QSqlRecord::replace
Name: QSqlRecord::replace
Prototype: void QSqlRecord::replace(int pos, const QSqlField& field)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlrecord.cpp
Lines: 292-299
 50.000% (2/4)
42
QSqlRecord::remove
Name: QSqlRecord::remove
Prototype: void QSqlRecord::remove(int pos)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlrecord.cpp
Lines: 308-315
100.000% (4/4)
42
QSqlRecord::keyValues
Name: QSqlRecord::keyValues
Prototype: QSqlRecord QSqlRecord::keyValues(const QSqlRecord &keyFields) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlrecord.cpp
Lines: 537-545
100.000% (4/4)
42
QSqlRecord::clearValues
Name: QSqlRecord::clearValues
Prototype: void QSqlRecord::clearValues()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlrecord.cpp
Lines: 359-365
100.000% (4/4)
42
QSqlQueryPrivate::~QSqlQueryPrivate
Name: QSqlQueryPrivate::~QSqlQueryPrivate
Prototype: QSqlQueryPrivate::~QSqlQueryPrivate()
Coverage:  83.333% (5/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 89-95
 83.333% (5/6)
42
QSqlQueryPrivate::QSqlQueryPrivate
Name: QSqlQueryPrivate::QSqlQueryPrivate
Prototype: QSqlQueryPrivate::QSqlQueryPrivate(QSqlResult* result)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 82-87
100.000% (4/4)
22
QSqlQueryModelPrivate::columnInQuery
Name: QSqlQueryModelPrivate::columnInQuery
Prototype: int QSqlQueryModelPrivate::columnInQuery(int modelColumn) const
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp
Lines: 96-101
 80.000% (8/10)
32
QSqlQueryModel::indexInQuery
Name: QSqlQueryModel::indexInQuery
Prototype: QModelIndex QSqlQueryModel::indexInQuery(const QModelIndex &item) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp
Lines: 671-678
100.000% (4/4)
52
QSqlQueryModel::fetchMore
Name: QSqlQueryModel::fetchMore
Prototype: void QSqlQueryModel::fetchMore(const QModelIndex &parent)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp
Lines: 190-196
 50.000% (2/4)
42
QSqlQueryModel::endResetModel
Name: QSqlQueryModel::endResetModel
Prototype: void QSqlQueryModel::endResetModel()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp
Lines: 299-305
100.000% (4/4)
42
QSqlQueryModel::endRemoveRows
Name: QSqlQueryModel::endRemoveRows
Prototype: void QSqlQueryModel::endRemoveRows()
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp
Lines: 244-249
 75.000% (3/4)
32
QSqlQueryModel::endRemoveColumns
Name: QSqlQueryModel::endRemoveColumns
Prototype: void QSqlQueryModel::endRemoveColumns()
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp
Lines: 280-285
 75.000% (3/4)
32
QSqlQueryModel::endInsertRows
Name: QSqlQueryModel::endInsertRows
Prototype: void QSqlQueryModel::endInsertRows()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp
Lines: 226-231
100.000% (4/4)
32
QSqlQueryModel::endInsertColumns
Name: QSqlQueryModel::endInsertColumns
Prototype: void QSqlQueryModel::endInsertColumns()
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp
Lines: 262-267
 75.000% (3/4)
32
QSqlQueryModel::beginResetModel
Name: QSqlQueryModel::beginResetModel
Prototype: void QSqlQueryModel::beginResetModel()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp
Lines: 289-295
100.000% (4/4)
42
QSqlQueryModel::beginRemoveRows
Name: QSqlQueryModel::beginRemoveRows
Prototype: void QSqlQueryModel::beginRemoveRows(const QModelIndex &parent, int first, int last)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp
Lines: 235-240
 75.000% (3/4)
32
QSqlQueryModel::beginRemoveColumns
Name: QSqlQueryModel::beginRemoveColumns
Prototype: void QSqlQueryModel::beginRemoveColumns(const QModelIndex &parent, int first, int last)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp
Lines: 271-276
 75.000% (3/4)
32
QSqlQueryModel::beginInsertRows
Name: QSqlQueryModel::beginInsertRows
Prototype: void QSqlQueryModel::beginInsertRows(const QModelIndex &parent, int first, int last)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp
Lines: 217-222
100.000% (4/4)
32
QSqlQueryModel::beginInsertColumns
Name: QSqlQueryModel::beginInsertColumns
Prototype: void QSqlQueryModel::beginInsertColumns(const QModelIndex &parent, int first, int last)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp
Lines: 253-258
 75.000% (3/4)
32
QSqlQuery::~QSqlQuery
Name: QSqlQuery::~QSqlQuery
Prototype: QSqlQuery::~QSqlQuery()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 242-246
100.000% (4/4)
22
QSqlQuery::value
Name: QSqlQuery::value
Prototype: QVariant QSqlQuery::value(int index) const
Coverage:  50.000% (4/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 427-433
 50.000% (4/8)
42
QSqlQuery::value
Name: QSqlQuery::value
Prototype: QVariant QSqlQuery::value(const QString& name) const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 444-451
 50.000% (2/4)
52
QSqlQuery::size
Name: QSqlQuery::size
Prototype: int QSqlQuery::size() const
Coverage:  66.667% (4/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 778-783
 66.667% (4/6)
32
QSqlQuery::numRowsAffected
Name: QSqlQuery::numRowsAffected
Prototype: int QSqlQuery::numRowsAffected() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 794-799
100.000% (4/4)
32
QSqlQuery::nextResult
Name: QSqlQuery::nextResult
Prototype: bool QSqlQuery::nextResult()
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 1291-1296
  0.000% (0/4)
32
Page:<>1
McCabe - Cyclomatic Complexity: 439
...90
McCabe - Cyclomatic Complexity: 3
...100
McCabe - Cyclomatic Complexity: 2
...110
McCabe - Cyclomatic Complexity: 2
...116
McCabe - Cyclomatic Complexity: 2
117
McCabe - Cyclomatic Complexity: 2
118
McCabe - Cyclomatic Complexity: 2
119
McCabe - Cyclomatic Complexity: 2
120121
McCabe - Cyclomatic Complexity: 2
122
McCabe - Cyclomatic Complexity: 2
123
McCabe - Cyclomatic Complexity: 2
124
McCabe - Cyclomatic Complexity: 2
...130
McCabe - Cyclomatic Complexity: 2
...140
McCabe - Cyclomatic Complexity: 2
...150
McCabe - Cyclomatic Complexity: 2
...200
McCabe - Cyclomatic Complexity: 1
...300
McCabe - Cyclomatic Complexity: 1
...306
McCabe - Cyclomatic Complexity: 1

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