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

Functions

Page:<>1
McCabe - Cyclomatic Complexity: 1
...100
McCabe - Cyclomatic Complexity: 1
...150
McCabe - Cyclomatic Complexity: 2
...160
McCabe - Cyclomatic Complexity: 2
...170
McCabe - Cyclomatic Complexity: 2
...180
McCabe - Cyclomatic Complexity: 2
...182
McCabe - Cyclomatic Complexity: 2
183
McCabe - Cyclomatic Complexity: 2
184
McCabe - Cyclomatic Complexity: 2
185
McCabe - Cyclomatic Complexity: 2
186187
McCabe - Cyclomatic Complexity: 2
188
McCabe - Cyclomatic Complexity: 2
189
McCabe - Cyclomatic Complexity: 2
190
McCabe - Cyclomatic Complexity: 2
...200
McCabe - Cyclomatic Complexity: 2
...210
McCabe - Cyclomatic Complexity: 3
...300
McCabe - Cyclomatic Complexity: 18
...306
McCabe - Cyclomatic Complexity: 76
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–´
QSplitter::widget
Name: QSplitter::widget
Prototype: QWidget *QSplitter::widget(int index) const
Coverage:  0.000% (0/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qsplitter.cpp
Lines: 1190-1196
  0.000% (0/6)
42
QSplitter::~QSplitter
Name: QSplitter::~QSplitter
Prototype: QSplitter::~QSplitter()
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qsplitter.cpp
Lines: 970-976
  0.000% (0/4)
42
QSplitterHandle::closestLegalPosition
Name: QSplitterHandle::closestLegalPosition
Prototype: int QSplitterHandle::closestLegalPosition(int pos)
Coverage:  0.000% (0/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qsplitter.cpp
Lines: 212-221
  0.000% (0/6)
62
QSplitterHandle::mousePressEvent
Name: QSplitterHandle::mousePressEvent
Prototype: void QSplitterHandle::mousePressEvent(QMouseEvent *e)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qsplitter.cpp
Lines: 305-313
  0.000% (0/4)
52
QSplitterHandle::moveSplitter
Name: QSplitterHandle::moveSplitter
Prototype: void QSplitterHandle::moveSplitter(int pos)
Coverage:  0.000% (0/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qsplitter.cpp
Lines: 196-202
  0.000% (0/6)
42
QSplitterPrivate::collapsible
Name: QSplitterPrivate::collapsible
Prototype: bool QSplitterPrivate::collapsible(QSplitterLayoutStruct *s) const
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qsplitter.cpp
Lines: 691-698
  0.000% (0/4)
32
QSplitterPrivate::init
Name: QSplitterPrivate::init
Prototype: void QSplitterPrivate::init()
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qsplitter.cpp
Lines: 381-389
  0.000% (0/4)
62
QSplitterPrivate::storeSizes
Name: QSplitterPrivate::storeSizes
Prototype: void QSplitterPrivate::storeSizes()
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qsplitter.cpp
Lines: 563-569
  0.000% (0/4)
32
QSqlCachedResult::data
Name: QSqlCachedResult::data
Prototype: QVariant QSqlCachedResult::data(int i)
Coverage:  58.333% (7/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlcachedresult.cpp
Lines: 227-235
 58.333% (7/12)
52
QSqlCachedResult::fetchNext
Name: QSqlCachedResult::fetchNext
Prototype: bool QSqlCachedResult::fetchNext()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlcachedresult.cpp
Lines: 178-186
100.000% (4/4)
52
QSqlCachedResult::isNull
Name: QSqlCachedResult::isNull
Prototype: bool QSqlCachedResult::isNull(int i)
Coverage:  66.667% (8/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlcachedresult.cpp
Lines: 237-245
 66.667% (8/12)
52
QSqlCachedResultPrivate::canSeek
Name: QSqlCachedResultPrivate::canSeek
Prototype: bool QSqlCachedResultPrivate::canSeek(int i) const
Coverage:  83.333% (5/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlcachedresult.cpp
Lines: 105-110
 83.333% (5/6)
32
QSqlCachedResultPrivate::init
Name: QSqlCachedResultPrivate::init
Prototype: void QSqlCachedResultPrivate::init(int count, bool fo)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlcachedresult.cpp
Lines: 79-91
100.000% (4/4)
82
QSqlCachedResultPrivate::revertLast
Name: QSqlCachedResultPrivate::revertLast
Prototype: void QSqlCachedResultPrivate::revertLast()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlcachedresult.cpp
Lines: 112-117
100.000% (4/4)
32
QSqlDatabase::cloneDatabase
Name: QSqlDatabase::cloneDatabase
Prototype: QSqlDatabase QSqlDatabase::cloneDatabase(const QSqlDatabase &other, const QString &connectionName)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1445-1454
 50.000% (2/4)
62
QSqlDatabase::commit
Name: QSqlDatabase::commit
Prototype: bool QSqlDatabase::commit()
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 923-928
 50.000% (2/4)
32
QSqlDatabase::exec
Name: QSqlDatabase::exec
Prototype: QSqlQuery QSqlDatabase::exec(const QString & query) const
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 813-821
 75.000% (3/4)
52
QSqlDatabase::numericalPrecisionPolicy
Name: QSqlDatabase::numericalPrecisionPolicy
Prototype: QSql::NumericalPrecisionPolicy QSqlDatabase::numericalPrecisionPolicy() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1501-1507
 50.000% (2/4)
32
QSqlDatabase::registerSqlDriver
Name: QSqlDatabase::registerSqlDriver
Prototype: void QSqlDatabase::registerSqlDriver(const QString& name, QSqlDriverCreatorBase *creator)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 611-616
 75.000% (3/4)
32
QSqlDatabase::rollback
Name: QSqlDatabase::rollback
Prototype: bool QSqlDatabase::rollback()
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 944-949
 50.000% (2/4)
32
QSqlDatabase::setConnectOptions
Name: QSqlDatabase::setConnectOptions
Prototype: void QSqlDatabase::setConnectOptions(const QString &options)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1291-1295
 75.000% (3/4)
22
QSqlDatabase::setDatabaseName
Name: QSqlDatabase::setDatabaseName
Prototype: void QSqlDatabase::setDatabaseName(const QString& name)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 979-983
 75.000% (3/4)
22
QSqlDatabase::setHostName
Name: QSqlDatabase::setHostName
Prototype: void QSqlDatabase::setHostName(const QString& host)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1037-1041
 75.000% (3/4)
22
QSqlDatabase::setNumericalPrecisionPolicy
Name: QSqlDatabase::setNumericalPrecisionPolicy
Prototype: void QSqlDatabase::setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy precisionPolicy)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1486-1491
 75.000% (3/4)
32
QSqlDatabase::setPassword
Name: QSqlDatabase::setPassword
Prototype: void QSqlDatabase::setPassword(const QString& password)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1019-1023
 75.000% (3/4)
22
QSqlDatabase::setPort
Name: QSqlDatabase::setPort
Prototype: void QSqlDatabase::setPort(int port)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1055-1059
 75.000% (3/4)
22
QSqlDatabase::setUserName
Name: QSqlDatabase::setUserName
Prototype: void QSqlDatabase::setUserName(const QString& name)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 997-1001
 75.000% (3/4)
22
QSqlDatabase::transaction
Name: QSqlDatabase::transaction
Prototype: bool QSqlDatabase::transaction()
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 902-907
 50.000% (2/4)
32
QSqlDatabase::~QSqlDatabase
Name: QSqlDatabase::~QSqlDatabase
Prototype: QSqlDatabase::~QSqlDatabase()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 796-802
100.000% (4/4)
32
QSqlDatabasePrivate::addDatabase
Name: QSqlDatabasePrivate::addDatabase
Prototype: void QSqlDatabasePrivate::addDatabase(const QSqlDatabase &db, const QString &name)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 253-266
 50.000% (2/4)
92
QSqlDatabasePrivate::cleanConnections
Name: QSqlDatabasePrivate::cleanConnections
Prototype: void QSqlDatabasePrivate::cleanConnections()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 191-203
100.000% (4/4)
82
QSqlDatabasePrivate::disable
Name: QSqlDatabasePrivate::disable
Prototype: void QSqlDatabasePrivate::disable()
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 303-309
 75.000% (3/4)
32
QSqlDatabasePrivate::driverDict
Name: QSqlDatabasePrivate::driverDict
Prototype: DriverDict &QSqlDatabasePrivate::driverDict()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 214-222
100.000% (4/4)
42
QSqlDatabasePrivate::invalidateDb
Name: QSqlDatabasePrivate::invalidateDb
Prototype: void QSqlDatabasePrivate::invalidateDb(const QSqlDatabase &db, const QString &name, bool doWarn)
Coverage:  83.333% (5/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 231-239
 83.333% (5/6)
52
QSqlDatabasePrivate::removeDatabase
Name: QSqlDatabasePrivate::removeDatabase
Prototype: void QSqlDatabasePrivate::removeDatabase(const QString &name)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 241-251
 50.000% (2/4)
62
QSqlDatabasePrivate::~QSqlDatabasePrivate
Name: QSqlDatabasePrivate::~QSqlDatabasePrivate
Prototype: QSqlDatabasePrivate::~QSqlDatabasePrivate()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 185-189
100.000% (4/4)
22
QSqlDriver::setOpenError
Name: QSqlDriver::setOpenError
Prototype: void QSqlDriver::setOpenError(bool error)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 298-304
100.000% (4/4)
42
QSqlDriver::stripDelimiters
Name: QSqlDriver::stripDelimiters
Prototype: QString QSqlDriver::stripDelimiters(const QString &identifier, IdentifierType type) const
Coverage:  60.000% (3/5)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 452-462
 60.000% (3/5)
62
QSqlError::QSqlError
Name: QSqlError::QSqlError
Prototype: QSqlError::QSqlError(const QString& driverText, const QString& databaseText, ErrorType type, int number)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlerror.cpp
Lines: 102-112
100.000% (4/4)
62
QSqlError::text
Name: QSqlError::text
Prototype: QString QSqlError::text() const
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlerror.cpp
Lines: 331-338
  0.000% (0/4)
52
QSqlField::clear
Name: QSqlField::clear
Prototype: void QSqlField::clear()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlfield.cpp
Lines: 326-331
100.000% (4/4)
32
QSqlField::setType
Name: QSqlField::setType
Prototype: void QSqlField::setType(QVariant::Type type)
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlfield.cpp
Lines: 394-400
  0.000% (0/4)
42
QSqlField::setValue
Name: QSqlField::setValue
Prototype: void QSqlField::setValue(const QVariant& value)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlfield.cpp
Lines: 312-317
100.000% (4/4)
32
QSqlField::~QSqlField
Name: QSqlField::~QSqlField
Prototype: QSqlField::~QSqlField()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlfield.cpp
Lines: 209-213
100.000% (4/4)
22
QSqlIndex::isDescending
Name: QSqlIndex::isDescending
Prototype: bool QSqlIndex::isDescending(int i) const
Coverage:  0.000% (0/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlindex.cpp
Lines: 149-154
  0.000% (0/6)
32
QSqlIndex::setDescending
Name: QSqlIndex::setDescending
Prototype: void QSqlIndex::setDescending(int i, bool desc)
Coverage:  0.000% (0/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlindex.cpp
Lines: 162-166
  0.000% (0/6)
22
QSqlQuery::boundValues
Name: QSqlQuery::boundValues
Prototype: QMap<QString,QVariant> QSqlQuery::boundValues() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 1154-1162
100.000% (4/4)
52
QSqlQuery::exec
Name: QSqlQuery::exec
Prototype: bool QSqlQuery::exec()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 998-1016
100.000% (4/4)
52
QSqlQuery::finish
Name: QSqlQuery::finish
Prototype: void QSqlQuery::finish()
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 1250-1258
 75.000% (3/4)
52
QSqlQuery::isNull
Name: QSqlQuery::isNull
Prototype: bool QSqlQuery::isNull(const QString &name) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 337-344
100.000% (4/4)
52
QSqlQuery::last
Name: QSqlQuery::last
Prototype: bool QSqlQuery::last()
Coverage:  50.000% (3/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 757-764
 50.000% (3/6)
52
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
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::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::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::~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
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
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::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::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::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::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::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::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::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::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::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::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
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
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
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
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
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::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::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::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::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::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::~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
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
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
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
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::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
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
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::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
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
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
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::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::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::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::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::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::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::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::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
Page:<>1
McCabe - Cyclomatic Complexity: 1
...100
McCabe - Cyclomatic Complexity: 1
...150
McCabe - Cyclomatic Complexity: 2
...160
McCabe - Cyclomatic Complexity: 2
...170
McCabe - Cyclomatic Complexity: 2
...180
McCabe - Cyclomatic Complexity: 2
...182
McCabe - Cyclomatic Complexity: 2
183
McCabe - Cyclomatic Complexity: 2
184
McCabe - Cyclomatic Complexity: 2
185
McCabe - Cyclomatic Complexity: 2
186187
McCabe - Cyclomatic Complexity: 2
188
McCabe - Cyclomatic Complexity: 2
189
McCabe - Cyclomatic Complexity: 2
190
McCabe - Cyclomatic Complexity: 2
...200
McCabe - Cyclomatic Complexity: 2
...210
McCabe - Cyclomatic Complexity: 3
...300
McCabe - Cyclomatic Complexity: 18
...306
McCabe - Cyclomatic Complexity: 76

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