Function | Condition % | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexityâ–´ |
clearName: | QSqlTableModelPrivate::clear | Prototype: | void QSqlTableModelPrivate::clear() | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 101-111 |
| | 8 | 1 |
clearCacheName: | QSqlTableModelPrivate::clearCache | Prototype: | void QSqlTableModelPrivate::clearCache() | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 113-116 |
| | 1 | 1 |
initRecordAndPrimaryIndexName: | QSqlTableModelPrivate::initRecordAndPrimaryIndex | Prototype: | void QSqlTableModelPrivate::initRecordAndPrimaryIndex() | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 94-99 |
| | 3 | 1 |
nameToIndexName: | QSqlTableModelPrivate::nameToIndex | Prototype: | int QSqlTableModelPrivate::nameToIndex(const QString &name) const | Coverage: | 100.000% (1/1) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 69-72 |
| | 1 | 1 |
recordName: | 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 |
| | 4 | 2 |
strippedFieldNameName: | 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 |
| | 4 | 2 |
insertCountName: | QSqlTableModelPrivate::insertCount | Prototype: | int QSqlTableModelPrivate::insertCount(int maxRow) const | Coverage: | 100.000% (10/10) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 82-92 |
| | 7 | 3 |
revertCachedRowName: | QSqlTableModelPrivate::revertCachedRow | Prototype: | void QSqlTableModelPrivate::revertCachedRow(int row) | Coverage: | 76.471% (13/17) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 118-151 |
| | 23 | 8 |
execName: | QSqlTableModelPrivate::exec | Prototype: | bool QSqlTableModelPrivate::exec(const QString &stmt, bool prepStatement, const QSqlRecord &rec, const QSqlRecord &whereValues) | Coverage: | 71.053% (27/38) | Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/sql/models/qsqltablemodel.cpp | Lines: | 153-194 |
| | 25 | 13 |