Function | Condition % | eLOC - Effective Lines of Codeā¾ | McCabe - Cyclomatic Complexity |
selectStatementName: | QSqlRelationalTableModel::selectStatement | Prototype: | QString QSqlRelationalTableModel::selectStatement() const | Coverage: | 79.545% (35/44) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlrelationaltablemodel.cpp | Lines: | 536-621 |
| | 56 | 15 |
dataName: | QSqlRelationalTableModel::data | Prototype: | QVariant QSqlRelationalTableModel::data(const QModelIndex &index, int role) const | Coverage: | 86.207% (25/29) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlrelationaltablemodel.cpp | Lines: | 425-451 |
| | 14 | 7 |
setDataName: | QSqlRelationalTableModel::setData | Prototype: | bool QSqlRelationalTableModel::setData(const QModelIndex &index, const QVariant &value, int role) | Coverage: | 93.750% (15/16) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlrelationaltablemodel.cpp | Lines: | 468-481 |
| | 9 | 4 |
relationModelName: | QSqlRelationalTableModel::relationModel | Prototype: | QSqlTableModel *QSqlRelationalTableModel::relationModel(int column) const | Coverage: | 91.667% (11/12) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlrelationaltablemodel.cpp | Lines: | 632-645 |
| | 9 | 4 |
removeColumnsName: | QSqlRelationalTableModel::removeColumns | Prototype: | bool QSqlRelationalTableModel::removeColumns(int column, int count, const QModelIndex &parent) | Coverage: | 71.429% (10/14) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlrelationaltablemodel.cpp | Lines: | 772-785 |
| | 8 | 4 |
orderByClauseName: | 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 |
| | 7 | 2 |
setRelationName: | QSqlRelationalTableModel::setRelation | Prototype: | void QSqlRelationalTableModel::setRelation(int column, const QSqlRelation &relation) | Coverage: | 71.429% (5/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlrelationaltablemodel.cpp | Lines: | 501-509 |
| | 6 | 3 |
clearName: | QSqlRelationalTableModel::clear | Prototype: | void QSqlRelationalTableModel::clear() | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlrelationaltablemodel.cpp | Lines: | 658-666 |
| | 6 | 1 |
updateRowInTableName: | QSqlRelationalTableModel::updateRowInTable | Prototype: | bool QSqlRelationalTableModel::updateRowInTable(int row, const QSqlRecord &values) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlrelationaltablemodel.cpp | Lines: | 730-738 |
| | 4 | 1 |
insertRowIntoTableName: | QSqlRelationalTableModel::insertRowIntoTable | Prototype: | bool QSqlRelationalTableModel::insertRowIntoTable(const QSqlRecord &values) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlrelationaltablemodel.cpp | Lines: | 743-751 |
| | 4 | 1 |
setTableName: | QSqlRelationalTableModel::setTable | Prototype: | void QSqlRelationalTableModel::setTable(const QString &table) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlrelationaltablemodel.cpp | Lines: | 702-710 |
| | 3 | 1 |
setJoinModeName: | QSqlRelationalTableModel::setJoinMode | Prototype: | void QSqlRelationalTableModel::setJoinMode( QSqlRelationalTableModel::JoinMode joinMode ) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlrelationaltablemodel.cpp | Lines: | 686-690 |
| | 2 | 1 |
relationName: | QSqlRelationalTableModel::relation | Prototype: | QSqlRelation QSqlRelationalTableModel::relation(int column) const | Coverage: | 0.000% (0/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlrelationaltablemodel.cpp | Lines: | 517-521 |
| | 2 | 1 |
QSqlRelationalTableModelName: | QSqlRelationalTableModel::QSqlRelationalTableModel | Prototype: | QSqlRelationalTableModel::QSqlRelationalTableModel(QObject *parent, QSqlDatabase db) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlrelationaltablemodel.cpp | Lines: | 410-413 |
| | 2 | 1 |
selectName: | QSqlRelationalTableModel::select | Prototype: | bool QSqlRelationalTableModel::select() | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlrelationaltablemodel.cpp | Lines: | 694-697 |
| | 1 | 1 |
revertRowName: | QSqlRelationalTableModel::revertRow | Prototype: | void QSqlRelationalTableModel::revertRow(int row) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqlrelationaltablemodel.cpp | Lines: | 650-653 |
| | 1 | 1 |