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

Function Tree

Path:<top>::QSqlRelationalTableModel
Functionâ–ľCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
updateRowInTable
Name: 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
100.000% (1/1)
41
setTable
Name: 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
100.000% (1/1)
31
setRelation
Name: 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
 71.429% (5/7)
63
setJoinMode
Name: 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
100.000% (1/1)
21
setData
Name: 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
 93.750% (15/16)
94
selectStatement
Name: 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
 79.545% (35/44)
5615
select
Name: 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
100.000% (1/1)
11
revertRow
Name: 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
100.000% (1/1)
11
removeColumns
Name: 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
 71.429% (10/14)
84
relationModel
Name: 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
 91.667% (11/12)
94
relation
Name: 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
  0.000% (0/1)
21
orderByClause
Name: 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
100.000% (6/6)
72
insertRowIntoTable
Name: 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
100.000% (1/1)
41
data
Name: 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
 86.207% (25/29)
147
clear
Name: 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
100.000% (1/1)
61
QSqlRelationalTableModel
Name: 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
100.000% (1/1)
21

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