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

Function Tree

Path:<top>::QSqlTableModelPrivate
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–¾
exec
Name: 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
 71.053% (27/38)
2513
revertCachedRow
Name: 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
 76.471% (13/17)
238
insertCount
Name: 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
100.000% (10/10)
73
strippedFieldName
Name: 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
100.000% (4/4)
42
record
Name: 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
  0.000% (0/6)
42
nameToIndex
Name: 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
100.000% (1/1)
11
initRecordAndPrimaryIndex
Name: 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
100.000% (1/1)
31
clearCache
Name: 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
100.000% (1/1)
11
clear
Name: 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
100.000% (1/1)
81

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