Functionâ–´ | Condition % | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
QSqlTableModelName: | QSqlTableModel::QSqlTableModel | Prototype: | QSqlTableModel::QSqlTableModel(QObject *parent, QSqlDatabase db) | Coverage: | 100.000% (3/3) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 289-294 |
| | 2 | 1 |
QSqlTableModelName: | QSqlTableModel::QSqlTableModel | Prototype: | QSqlTableModel::QSqlTableModel(QSqlTableModelPrivate &dd, QObject *parent, QSqlDatabase db) | Coverage: | 66.667% (2/3) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 298-303 |
| | 2 | 1 |
clearName: | QSqlTableModel::clear | Prototype: | void QSqlTableModel::clear() | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 1269-1276 |
| | 5 | 1 |
dataName: | QSqlTableModel::data | Prototype: | QVariant QSqlTableModel::data(const QModelIndex &index, int role) const | Coverage: | 100.000% (11/11) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 469-480 |
| | 7 | 3 |
databaseName: | QSqlTableModel::database | Prototype: | QSqlDatabase QSqlTableModel::database() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 936-940 |
| | 2 | 1 |
deleteRowFromTableName: | 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 |
| | 17 | 2 |
editStrategyName: | QSqlTableModel::editStrategy | Prototype: | QSqlTableModel::EditStrategy QSqlTableModel::editStrategy() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 872-876 |
| | 2 | 1 |
fieldIndexName: | QSqlTableModel::fieldIndex | Prototype: | int QSqlTableModel::fieldIndex(const QString &fieldName) const | Coverage: | 0.000% (0/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 994-998 |
| | 2 | 1 |
filterName: | QSqlTableModel::filter | Prototype: | QString QSqlTableModel::filter() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 1241-1245 |
| | 2 | 1 |
flagsName: | QSqlTableModel::flags | Prototype: | Qt::ItemFlags QSqlTableModel::flags(const QModelIndex &index) const | Coverage: | 78.947% (30/38) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 1280-1312 |
| | 20 | 10 |
headerDataName: | QSqlTableModel::headerData | Prototype: | QVariant QSqlTableModel::headerData(int section, Qt::Orientation orientation, int role) const | Coverage: | 16.667% (2/12) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 485-496 |
| | 8 | 4 |
indexInQueryName: | 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 |
| | 5 | 2 |
insertRecordName: | QSqlTableModel::insertRecord | Prototype: | bool QSqlTableModel::insertRecord(int row, const QSqlRecord &record) | Coverage: | 60.000% (6/10) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 1189-1200 |
| | 8 | 4 |
insertRowIntoTableName: | 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 |
| | 11 | 2 |
insertRowsName: | QSqlTableModel::insertRows | Prototype: | bool QSqlTableModel::insertRows(int row, int count, const QModelIndex &parent) | Coverage: | 80.645% (25/31) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 1140-1175 |
| | 24 | 8 |
isDirtyName: | QSqlTableModel::isDirty | Prototype: | bool QSqlTableModel::isDirty() const | Coverage: | 100.000% (7/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 505-515 |
| | 7 | 3 |
isDirtyName: | QSqlTableModel::isDirty | Prototype: | bool QSqlTableModel::isDirty(const QModelIndex &index) const | Coverage: | 71.429% (5/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 524-538 |
| | 10 | 3 |
orderByClauseName: | 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 |
| | 8 | 2 |
primaryKeyName: | QSqlTableModel::primaryKey | Prototype: | QSqlIndex QSqlTableModel::primaryKey() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 912-916 |
| | 2 | 1 |
primaryValuesName: | 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 |
| | 6 | 2 |
recordName: | QSqlTableModel::record | Prototype: | QSqlRecord QSqlTableModel::record() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 1322-1325 |
| | 1 | 1 |
recordName: | QSqlTableModel::record | Prototype: | QSqlRecord QSqlTableModel::record(int row) const | Coverage: | 100.000% (7/7) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 1339-1355 |
| | 8 | 3 |
removeColumnsName: | QSqlTableModel::removeColumns | Prototype: | bool QSqlTableModel::removeColumns(int column, int count, const QModelIndex &parent) | Coverage: | 57.143% (8/14) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 1042-1052 |
| | 8 | 4 |
removeRowsName: | QSqlTableModel::removeRows | Prototype: | bool QSqlTableModel::removeRows(int row, int count, const QModelIndex &parent) | Coverage: | 94.872% (37/39) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 1083-1118 |
| | 23 | 11 |
revertName: | 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 |
| | 3 | 2 |
revertAllName: | 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 |
| | 4 | 2 |
revertRowName: | 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 |
| | 4 | 2 |
rowCountName: | 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 |
| | 4 | 2 |
selectName: | QSqlTableModel::select | Prototype: | bool QSqlTableModel::select() | Coverage: | 88.889% (8/9) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 363-385 |
| | 14 | 3 |
selectRowName: | QSqlTableModel::selectRow | Prototype: | bool QSqlTableModel::selectRow(int row) | Coverage: | 72.973% (27/37) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 398-464 |
| | 41 | 11 |
selectStatementName: | QSqlTableModel::selectStatement | Prototype: | QString QSqlTableModel::selectStatement() const | Coverage: | 60.000% (6/10) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 1007-1031 |
| | 18 | 4 |
setDataName: | QSqlTableModel::setData | Prototype: | bool QSqlTableModel::setData(const QModelIndex &index, const QVariant &value, int role) | Coverage: | 87.500% (28/32) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 562-596 |
| | 23 | 8 |
setEditStrategyName: | QSqlTableModel::setEditStrategy | Prototype: | void QSqlTableModel::setEditStrategy(EditStrategy strategy) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 860-865 |
| | 3 | 1 |
setFilterName: | 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 |
| | 4 | 2 |
setPrimaryKeyName: | QSqlTableModel::setPrimaryKey | Prototype: | void QSqlTableModel::setPrimaryKey(const QSqlIndex &key) | Coverage: | 0.000% (0/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 927-931 |
| | 2 | 1 |
setQueryName: | QSqlTableModel::setQuery | Prototype: | void QSqlTableModel::setQuery(const QSqlQuery &query) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 605-608 |
| | 1 | 1 |
setRecordName: | QSqlTableModel::setRecord | Prototype: | bool QSqlTableModel::setRecord(int row, const QSqlRecord &values) | Coverage: | 77.143% (27/35) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 1379-1428 |
| | 34 | 11 |
setSortName: | QSqlTableModel::setSort | Prototype: | void QSqlTableModel::setSort(int column, Qt::SortOrder order) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 962-967 |
| | 3 | 1 |
setTableName: | QSqlTableModel::setTable | Prototype: | void QSqlTableModel::setTable(const QString &tableName) | Coverage: | 100.000% (10/10) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 323-343 |
| | 12 | 4 |
sortName: | QSqlTableModel::sort | Prototype: | void QSqlTableModel::sort(int column, Qt::SortOrder order) | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 949-953 |
| | 2 | 1 |
submitName: | 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 |
| | 4 | 2 |
submitAllName: | QSqlTableModel::submitAll | Prototype: | bool QSqlTableModel::submitAll() | Coverage: | 87.805% (36/41) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 733-786 |
| | 33 | 15 |
tableNameName: | QSqlTableModel::tableName | Prototype: | QString QSqlTableModel::tableName() const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 348-352 |
| | 2 | 1 |
updateRowInTableName: | 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 |
| | 14 | 2 |