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

Function Tree

Path:<top>::QSqlQuery
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–´
QSqlQuery
Name: QSqlQuery::QSqlQuery
Prototype: QSqlQuery::QSqlQuery(QSqlResult *result)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 233-236
100.000% (1/1)
11
QSqlQuery
Name: QSqlQuery::QSqlQuery
Prototype: QSqlQuery::QSqlQuery(const QSqlQuery& other)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 252-256
100.000% (1/1)
21
QSqlQuery
Name: QSqlQuery::QSqlQuery
Prototype: QSqlQuery::QSqlQuery(const QString& query, QSqlDatabase db)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 281-285
100.000% (1/1)
21
QSqlQuery
Name: QSqlQuery::QSqlQuery
Prototype: QSqlQuery::QSqlQuery(QSqlDatabase db)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 294-298
100.000% (1/1)
21
addBindValue
Name: QSqlQuery::addBindValue
Prototype: void QSqlQuery::addBindValue(const QVariant& val, QSql::ParamType paramType)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 1117-1120
100.000% (1/1)
11
at
Name: QSqlQuery::at
Prototype: int QSqlQuery::at() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 462-465
100.000% (1/1)
11
bindValue
Name: QSqlQuery::bindValue
Prototype: void QSqlQuery::bindValue(const QString& placeholder, const QVariant& val, QSql::ParamType paramType )
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 1087-1092
100.000% (1/1)
11
bindValue
Name: QSqlQuery::bindValue
Prototype: void QSqlQuery::bindValue(int pos, const QVariant& val, QSql::ParamType paramType)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 1100-1103
100.000% (1/1)
11
boundValue
Name: QSqlQuery::boundValue
Prototype: QVariant QSqlQuery::boundValue(const QString& placeholder) const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 1127-1130
  0.000% (0/1)
11
boundValue
Name: QSqlQuery::boundValue
Prototype: QVariant QSqlQuery::boundValue(int pos) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 1135-1138
100.000% (1/1)
11
clear
Name: QSqlQuery::clear
Prototype: void QSqlQuery::clear()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 929-932
100.000% (1/1)
11
driver
Name: QSqlQuery::driver
Prototype: const QSqlDriver *QSqlQuery::driver() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 483-486
100.000% (1/1)
11
execBatch
Name: QSqlQuery::execBatch
Prototype: bool QSqlQuery::execBatch(BatchExecutionMode mode)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 1067-1071
100.000% (1/1)
21
executedQuery
Name: QSqlQuery::executedQuery
Prototype: QString QSqlQuery::executedQuery() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 1176-1179
100.000% (1/1)
11
isActive
Name: QSqlQuery::isActive
Prototype: bool QSqlQuery::isActive() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 840-843
100.000% (1/1)
11
isForwardOnly
Name: QSqlQuery::isForwardOnly
Prototype: bool QSqlQuery::isForwardOnly() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 861-864
100.000% (1/1)
11
isNull
Name: QSqlQuery::isNull
Prototype: bool QSqlQuery::isNull(int field) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 321-326
100.000% (1/1)
31
isSelect
Name: QSqlQuery::isSelect
Prototype: bool QSqlQuery::isSelect() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 850-853
100.000% (1/1)
11
isValid
Name: QSqlQuery::isValid
Prototype: bool QSqlQuery::isValid() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 818-821
100.000% (1/1)
11
lastError
Name: QSqlQuery::lastError
Prototype: QSqlError QSqlQuery::lastError() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 808-811
100.000% (1/1)
11
lastInsertId
Name: QSqlQuery::lastInsertId
Prototype: QVariant QSqlQuery::lastInsertId() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 1196-1199
100.000% (1/1)
11
lastQuery
Name: QSqlQuery::lastQuery
Prototype: QString QSqlQuery::lastQuery() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 474-477
100.000% (1/1)
11
numericalPrecisionPolicy
Name: QSqlQuery::numericalPrecisionPolicy
Prototype: QSql::NumericalPrecisionPolicy QSqlQuery::numericalPrecisionPolicy() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 1232-1235
  0.000% (0/1)
11
operator=
Name: QSqlQuery::operator=
Prototype: QSqlQuery& QSqlQuery::operator=(const QSqlQuery& other)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 305-309
100.000% (1/1)
21
result
Name: QSqlQuery::result
Prototype: const QSqlResult* QSqlQuery::result() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 492-495
100.000% (1/1)
11
setForwardOnly
Name: QSqlQuery::setForwardOnly
Prototype: void QSqlQuery::setForwardOnly(bool forward)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 890-893
100.000% (1/1)
11
setNumericalPrecisionPolicy
Name: QSqlQuery::setNumericalPrecisionPolicy
Prototype: void QSqlQuery::setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy precisionPolicy)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 1222-1225
100.000% (1/1)
11
boundValues
Name: QSqlQuery::boundValues
Prototype: QMap<QString,QVariant> QSqlQuery::boundValues() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 1154-1162
100.000% (4/4)
52
exec
Name: QSqlQuery::exec
Prototype: bool QSqlQuery::exec()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 998-1016
100.000% (4/4)
52
finish
Name: QSqlQuery::finish
Prototype: void QSqlQuery::finish()
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 1250-1258
 75.000% (3/4)
52
isNull
Name: QSqlQuery::isNull
Prototype: bool QSqlQuery::isNull(const QString &name) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 337-344
100.000% (4/4)
52
last
Name: QSqlQuery::last
Prototype: bool QSqlQuery::last()
Coverage:  50.000% (3/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 757-764
 50.000% (3/6)
52
nextResult
Name: QSqlQuery::nextResult
Prototype: bool QSqlQuery::nextResult()
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 1291-1296
  0.000% (0/4)
32
numRowsAffected
Name: QSqlQuery::numRowsAffected
Prototype: int QSqlQuery::numRowsAffected() const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 794-799
100.000% (4/4)
32
size
Name: QSqlQuery::size
Prototype: int QSqlQuery::size() const
Coverage:  66.667% (4/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 778-783
 66.667% (4/6)
32
value
Name: QSqlQuery::value
Prototype: QVariant QSqlQuery::value(int index) const
Coverage:  50.000% (4/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 427-433
 50.000% (4/8)
42
value
Name: QSqlQuery::value
Prototype: QVariant QSqlQuery::value(const QString& name) const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 444-451
 50.000% (2/4)
52
~QSqlQuery
Name: QSqlQuery::~QSqlQuery
Prototype: QSqlQuery::~QSqlQuery()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 242-246
100.000% (4/4)
22
first
Name: QSqlQuery::first
Prototype: bool QSqlQuery::first()
Coverage:  90.909% (10/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 732-743
 90.909% (10/11)
83
record
Name: QSqlQuery::record
Prototype: QSqlRecord QSqlQuery::record() const
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 913-922
100.000% (7/7)
53
exec
Name: QSqlQuery::exec
Prototype: bool QSqlQuery::exec(const QString& query)
Coverage:  76.923% (10/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 371-406
 76.923% (10/13)
194
prepare
Name: QSqlQuery::prepare
Prototype: bool QSqlQuery::prepare(const QString& query)
Coverage:  56.250% (9/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 958-987
 56.250% (9/16)
195
next
Name: QSqlQuery::next
Prototype: bool QSqlQuery::next()
Coverage:  92.857% (13/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 648-666
 92.857% (13/14)
116
previous
Name: QSqlQuery::previous
Prototype: bool QSqlQuery::previous()
Coverage:  58.824% (10/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 697-720
 58.824% (10/17)
147
seek
Name: QSqlQuery::seek
Prototype: bool QSqlQuery::seek(int index, bool relative)
Coverage:  74.510% (38/51)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqlquery.cpp
Lines: 556-617
 74.510% (38/51)
4016

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