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

Function Tree

Path:<top>::QSqlDriver
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
QSqlDriver
Name: QSqlDriver::QSqlDriver
Prototype: QSqlDriver::QSqlDriver(QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 84-87
100.000% (1/1)
21
QSqlDriver
Name: QSqlDriver::QSqlDriver
Prototype: QSqlDriver::QSqlDriver(QSqlDriverPrivate &dd, QObject *parent)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 91-94
100.000% (1/1)
21
beginTransaction
Name: QSqlDriver::beginTransaction
Prototype: bool QSqlDriver::beginTransaction()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 314-317
  0.000% (0/1)
11
cancelQuery
Name: QSqlDriver::cancelQuery
Prototype: bool QSqlDriver::cancelQuery()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 837-840
  0.000% (0/1)
11
commitTransaction
Name: QSqlDriver::commitTransaction
Prototype: bool QSqlDriver::commitTransaction()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 327-330
  0.000% (0/1)
11
dbmsType
Name: QSqlDriver::dbmsType
Prototype: QSqlDriver::DbmsType QSqlDriver::dbmsType() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 813-817
100.000% (1/1)
21
escapeIdentifier
Name: QSqlDriver::escapeIdentifier
Prototype: QString QSqlDriver::escapeIdentifier(const QString &identifier, IdentifierType) const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 416-419
  0.000% (0/1)
11
formatValue
Name: QSqlDriver::formatValue
Prototype: QString QSqlDriver::formatValue(const QSqlField &field, bool trimStrings) const
Coverage:  33.333% (18/54)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 603-681
 33.333% (18/54)
4720
handle
Name: QSqlDriver::handle
Prototype: QVariant QSqlDriver::handle() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 707-710
  0.000% (0/1)
11
isIdentifierEscaped
Name: QSqlDriver::isIdentifierEscaped
Prototype: bool QSqlDriver::isIdentifierEscaped(const QString &identifier, IdentifierType type) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 431-437
100.000% (1/1)
41
isOpen
Name: QSqlDriver::isOpen
Prototype: bool QSqlDriver::isOpen() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 164-168
100.000% (1/1)
21
isOpenError
Name: QSqlDriver::isOpenError
Prototype: bool QSqlDriver::isOpenError() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 175-179
100.000% (1/1)
21
lastError
Name: QSqlDriver::lastError
Prototype: QSqlError QSqlDriver::lastError() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 363-367
100.000% (1/1)
21
numericalPrecisionPolicy
Name: QSqlDriver::numericalPrecisionPolicy
Prototype: QSql::NumericalPrecisionPolicy QSqlDriver::numericalPrecisionPolicy() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 802-806
100.000% (1/1)
21
primaryIndex
Name: QSqlDriver::primaryIndex
Prototype: QSqlIndex QSqlDriver::primaryIndex(const QString&) const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 391-394
  0.000% (0/1)
11
record
Name: QSqlDriver::record
Prototype: QSqlRecord QSqlDriver::record(const QString & ) const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 403-406
  0.000% (0/1)
11
rollbackTransaction
Name: QSqlDriver::rollbackTransaction
Prototype: bool QSqlDriver::rollbackTransaction()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 340-343
  0.000% (0/1)
11
setLastError
Name: QSqlDriver::setLastError
Prototype: void QSqlDriver::setLastError(const QSqlError &error)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 352-356
100.000% (1/1)
21
setNumericalPrecisionPolicy
Name: QSqlDriver::setNumericalPrecisionPolicy
Prototype: void QSqlDriver::setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy precisionPolicy)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 788-792
100.000% (1/1)
21
setOpen
Name: QSqlDriver::setOpen
Prototype: void QSqlDriver::setOpen(bool open)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 283-287
100.000% (1/1)
21
setOpenError
Name: QSqlDriver::setOpenError
Prototype: void QSqlDriver::setOpenError(bool error)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 298-304
100.000% (4/4)
42
sqlStatement
Name: QSqlDriver::sqlStatement
Prototype: QString QSqlDriver::sqlStatement(StatementType type, const QString &tableName, const QSqlRecord &rec, bool preparedStatement) const
Coverage:  80.645% (50/62)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 487-568
 80.645% (50/62)
6021
stripDelimiters
Name: QSqlDriver::stripDelimiters
Prototype: QString QSqlDriver::stripDelimiters(const QString &identifier, IdentifierType type) const
Coverage:  60.000% (3/5)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 452-462
 60.000% (3/5)
62
subscribeToNotification
Name: QSqlDriver::subscribeToNotification
Prototype: bool QSqlDriver::subscribeToNotification(const QString &name)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 732-736
  0.000% (0/1)
21
subscribedToNotifications
Name: QSqlDriver::subscribedToNotifications
Prototype: QStringList QSqlDriver::subscribedToNotifications() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 771-774
  0.000% (0/1)
11
tables
Name: QSqlDriver::tables
Prototype: QStringList QSqlDriver::tables(QSql::TableType) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 380-383
100.000% (1/1)
11
unsubscribeFromNotification
Name: QSqlDriver::unsubscribeFromNotification
Prototype: bool QSqlDriver::unsubscribeFromNotification(const QString &name)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldriver.cpp
Lines: 756-760
  0.000% (0/1)
21

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