Functionâ–´ | Condition % | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
QSqlQueryModelName: | QSqlQueryModel::QSqlQueryModel | Prototype: | QSqlQueryModel::QSqlQueryModel(QObject *parent) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp | Lines: | 154-157 |
| | 2 | 1 |
QSqlQueryModelName: | QSqlQueryModel::QSqlQueryModel | Prototype: | QSqlQueryModel::QSqlQueryModel(QSqlQueryModelPrivate &dd, QObject *parent) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp | Lines: | 161-164 |
| | 2 | 1 |
beginInsertColumnsName: | 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 |
| | 3 | 2 |
beginInsertRowsName: | 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 |
| | 3 | 2 |
beginRemoveColumnsName: | 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 |
| | 3 | 2 |
beginRemoveRowsName: | 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 |
| | 3 | 2 |
beginResetModelName: | 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 |
| | 4 | 2 |
canFetchMoreName: | QSqlQueryModel::canFetchMore | Prototype: | bool QSqlQueryModel::canFetchMore(const QModelIndex &parent) const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp | Lines: | 209-213 |
| | 2 | 1 |
clearName: | QSqlQueryModel::clear | Prototype: | void QSqlQueryModel::clear() | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp | Lines: | 477-489 |
| | 10 | 1 |
columnCountName: | QSqlQueryModel::columnCount | Prototype: | int QSqlQueryModel::columnCount(const QModelIndex &index) const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp | Lines: | 327-331 |
| | 2 | 1 |
dataName: | QSqlQueryModel::data | Prototype: | QVariant QSqlQueryModel::data(const QModelIndex &item, int role) const | Coverage: | 75.000% (12/16) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp | Lines: | 341-363 |
| | 15 | 6 |
endInsertColumnsName: | 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 |
| | 3 | 2 |
endInsertRowsName: | 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 |
| | 3 | 2 |
endRemoveColumnsName: | 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 |
| | 3 | 2 |
endRemoveRowsName: | 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 |
| | 3 | 2 |
endResetModelName: | 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 |
| | 4 | 2 |
fetchMoreName: | 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 |
| | 4 | 2 |
headerDataName: | QSqlQueryModel::headerData | Prototype: | QVariant QSqlQueryModel::headerData(int section, Qt::Orientation orientation, int role) const | Coverage: | 94.737% (18/19) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp | Lines: | 369-382 |
| | 10 | 5 |
indexInQueryName: | 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 |
| | 5 | 2 |
insertColumnsName: | QSqlQueryModel::insertColumns | Prototype: | bool QSqlQueryModel::insertColumns(int column, int count, const QModelIndex &parent) | Coverage: | 90.476% (19/21) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp | Lines: | 606-628 |
| | 17 | 5 |
lastErrorName: | QSqlQueryModel::lastError | Prototype: | QSqlError QSqlQueryModel::lastError() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp | Lines: | 536-540 |
| | 2 | 1 |
queryName: | QSqlQueryModel::query | Prototype: | QSqlQuery QSqlQueryModel::query() const | Coverage: | 0.000% (0/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp | Lines: | 524-528 |
| | 2 | 1 |
recordName: | QSqlQueryModel::record | Prototype: | QSqlRecord QSqlQueryModel::record(int row) const | Coverage: | 71.429% (5/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp | Lines: | 564-574 |
| | 7 | 3 |
recordName: | QSqlQueryModel::record | Prototype: | QSqlRecord QSqlQueryModel::record() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp | Lines: | 586-590 |
| | 2 | 1 |
removeColumnsName: | QSqlQueryModel::removeColumns | Prototype: | bool QSqlQueryModel::removeColumns(int column, int count, const QModelIndex &parent) | Coverage: | 87.500% (14/16) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp | Lines: | 641-657 |
| | 11 | 4 |
rowCountName: | QSqlQueryModel::rowCount | Prototype: | int QSqlQueryModel::rowCount(const QModelIndex &index) const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp | Lines: | 319-323 |
| | 2 | 1 |
setHeaderDataName: | QSqlQueryModel::setHeaderData | Prototype: | bool QSqlQueryModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role) | Coverage: | 100.000% (11/11) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp | Lines: | 505-517 |
| | 8 | 3 |
setLastErrorName: | QSqlQueryModel::setLastError | Prototype: | void QSqlQueryModel::setLastError(const QSqlError &error) | Coverage: | 0.000% (0/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp | Lines: | 548-552 |
| | 2 | 1 |
setQueryName: | QSqlQueryModel::setQuery | Prototype: | void QSqlQueryModel::setQuery(const QSqlQuery &query) | Coverage: | 66.667% (12/18) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp | Lines: | 409-453 |
| | 28 | 5 |
setQueryName: | QSqlQueryModel::setQuery | Prototype: | void QSqlQueryModel::setQuery(const QString &query, const QSqlDatabase &db) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlquerymodel.cpp | Lines: | 469-472 |
| | 1 | 1 |