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

Function Tree

Path:<top>::QSqlDatabase
FunctionCondition %▴eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
QSqlDatabase
Name: QSqlDatabase::QSqlDatabase
Prototype: QSqlDatabase::QSqlDatabase(QSqlDriver *driver)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 684-687
  0.000% (0/1)
11
addDatabase
Name: QSqlDatabase::addDatabase
Prototype: QSqlDatabase QSqlDatabase::addDatabase(QSqlDriver* driver, const QString& connectionName)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1417-1422
  0.000% (0/1)
31
connectOptions
Name: QSqlDatabase::connectOptions
Prototype: QString QSqlDatabase::connectOptions() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1303-1306
  0.000% (0/1)
11
connectionNames
Name: QSqlDatabase::connectionNames
Prototype: QStringList QSqlDatabase::connectionNames()
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 639-642
  0.000% (0/1)
11
isDriverAvailable
Name: QSqlDatabase::isDriverAvailable
Prototype: bool QSqlDatabase::isDriverAvailable(const QString& name)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1315-1318
  0.000% (0/1)
11
cloneDatabase
Name: QSqlDatabase::cloneDatabase
Prototype: QSqlDatabase QSqlDatabase::cloneDatabase(const QSqlDatabase &other, const QString &connectionName)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1445-1454
 50.000% (2/4)
62
commit
Name: QSqlDatabase::commit
Prototype: bool QSqlDatabase::commit()
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 923-928
 50.000% (2/4)
32
numericalPrecisionPolicy
Name: QSqlDatabase::numericalPrecisionPolicy
Prototype: QSql::NumericalPrecisionPolicy QSqlDatabase::numericalPrecisionPolicy() const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1501-1507
 50.000% (2/4)
32
rollback
Name: QSqlDatabase::rollback
Prototype: bool QSqlDatabase::rollback()
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 944-949
 50.000% (2/4)
32
transaction
Name: QSqlDatabase::transaction
Prototype: bool QSqlDatabase::transaction()
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 902-907
 50.000% (2/4)
32
exec
Name: QSqlDatabase::exec
Prototype: QSqlQuery QSqlDatabase::exec(const QString & query) const
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 813-821
 75.000% (3/4)
52
registerSqlDriver
Name: QSqlDatabase::registerSqlDriver
Prototype: void QSqlDatabase::registerSqlDriver(const QString& name, QSqlDriverCreatorBase *creator)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 611-616
 75.000% (3/4)
32
setConnectOptions
Name: QSqlDatabase::setConnectOptions
Prototype: void QSqlDatabase::setConnectOptions(const QString &options)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1291-1295
 75.000% (3/4)
22
setDatabaseName
Name: QSqlDatabase::setDatabaseName
Prototype: void QSqlDatabase::setDatabaseName(const QString& name)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 979-983
 75.000% (3/4)
22
setHostName
Name: QSqlDatabase::setHostName
Prototype: void QSqlDatabase::setHostName(const QString& host)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1037-1041
 75.000% (3/4)
22
setNumericalPrecisionPolicy
Name: QSqlDatabase::setNumericalPrecisionPolicy
Prototype: void QSqlDatabase::setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy precisionPolicy)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1486-1491
 75.000% (3/4)
32
setPassword
Name: QSqlDatabase::setPassword
Prototype: void QSqlDatabase::setPassword(const QString& password)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1019-1023
 75.000% (3/4)
22
setPort
Name: QSqlDatabase::setPort
Prototype: void QSqlDatabase::setPort(int port)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1055-1059
 75.000% (3/4)
22
setUserName
Name: QSqlDatabase::setUserName
Prototype: void QSqlDatabase::setUserName(const QString& name)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 997-1001
 75.000% (3/4)
22
drivers
Name: QSqlDatabase::drivers
Prototype: QStringList QSqlDatabase::drivers()
Coverage:  80.000% (12/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 541-596
 80.000% (12/15)
146
QSqlDatabase
Name: QSqlDatabase::QSqlDatabase
Prototype: QSqlDatabase::QSqlDatabase(const QString &type)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 672-676
100.000% (1/1)
21
QSqlDatabase
Name: QSqlDatabase::QSqlDatabase
Prototype: QSqlDatabase::QSqlDatabase()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 694-698
100.000% (1/1)
21
QSqlDatabase
Name: QSqlDatabase::QSqlDatabase
Prototype: QSqlDatabase::QSqlDatabase(const QSqlDatabase &other)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 703-707
100.000% (1/1)
21
addDatabase
Name: QSqlDatabase::addDatabase
Prototype: QSqlDatabase QSqlDatabase::addDatabase(const QString &type, const QString &connectionName)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 477-482
100.000% (1/1)
31
close
Name: QSqlDatabase::close
Prototype: void QSqlDatabase::close()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 869-872
100.000% (1/1)
11
connectionName
Name: QSqlDatabase::connectionName
Prototype: QString QSqlDatabase::connectionName() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1464-1467
100.000% (1/1)
11
contains
Name: QSqlDatabase::contains
Prototype: bool QSqlDatabase::contains(const QString& connectionName)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 627-630
100.000% (1/1)
11
database
Name: QSqlDatabase::database
Prototype: QSqlDatabase QSqlDatabase::database(const QString& connectionName, bool open)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 498-501
100.000% (1/1)
11
databaseName
Name: QSqlDatabase::databaseName
Prototype: QString QSqlDatabase::databaseName() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1067-1070
100.000% (1/1)
11
driver
Name: QSqlDatabase::driver
Prototype: QSqlDriver* QSqlDatabase::driver() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1130-1133
100.000% (1/1)
11
driverName
Name: QSqlDatabase::driverName
Prototype: QString QSqlDatabase::driverName() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1107-1110
100.000% (1/1)
11
hostName
Name: QSqlDatabase::hostName
Prototype: QString QSqlDatabase::hostName() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1097-1100
100.000% (1/1)
11
isOpen
Name: QSqlDatabase::isOpen
Prototype: bool QSqlDatabase::isOpen() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 879-882
100.000% (1/1)
11
isOpenError
Name: QSqlDatabase::isOpenError
Prototype: bool QSqlDatabase::isOpenError() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 890-893
100.000% (1/1)
11
isValid
Name: QSqlDatabase::isValid
Prototype: bool QSqlDatabase::isValid() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1430-1433
100.000% (1/1)
11
lastError
Name: QSqlDatabase::lastError
Prototype: QSqlError QSqlDatabase::lastError() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1145-1148
100.000% (1/1)
11
open
Name: QSqlDatabase::open
Prototype: bool QSqlDatabase::open()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 832-836
100.000% (1/1)
21
open
Name: QSqlDatabase::open
Prototype: bool QSqlDatabase::open(const QString& user, const QString& password)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 852-857
100.000% (1/1)
31
operator=
Name: QSqlDatabase::operator=
Prototype: QSqlDatabase &QSqlDatabase::operator=(const QSqlDatabase &other)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 712-716
100.000% (1/1)
21
password
Name: QSqlDatabase::password
Prototype: QString QSqlDatabase::password() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1087-1090
100.000% (1/1)
11
port
Name: QSqlDatabase::port
Prototype: int QSqlDatabase::port() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1118-1121
100.000% (1/1)
11
primaryIndex
Name: QSqlDatabase::primaryIndex
Prototype: QSqlIndex QSqlDatabase::primaryIndex(const QString& tablename) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1170-1173
100.000% (1/1)
11
record
Name: QSqlDatabase::record
Prototype: QSqlRecord QSqlDatabase::record(const QString& tablename) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1183-1186
100.000% (1/1)
11
removeDatabase
Name: QSqlDatabase::removeDatabase
Prototype: void QSqlDatabase::removeDatabase(const QString& connectionName)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 530-533
100.000% (1/1)
11
tables
Name: QSqlDatabase::tables
Prototype: QStringList QSqlDatabase::tables(QSql::TableType type) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1158-1161
100.000% (1/1)
11
userName
Name: QSqlDatabase::userName
Prototype: QString QSqlDatabase::userName() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 1077-1080
100.000% (1/1)
11
~QSqlDatabase
Name: QSqlDatabase::~QSqlDatabase
Prototype: QSqlDatabase::~QSqlDatabase()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/sql/kernel/qsqldatabase.cpp
Lines: 796-802
100.000% (4/4)
32

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