Function | Condition %▴ | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexity |
QSqlDatabaseName: | 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 |
| | 1 | 1 |
addDatabaseName: | 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 |
| | 3 | 1 |
connectOptionsName: | 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 |
| | 1 | 1 |
connectionNamesName: | 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 |
| | 1 | 1 |
isDriverAvailableName: | 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 |
| | 1 | 1 |
cloneDatabaseName: | 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 |
| | 6 | 2 |
commitName: | 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 |
| | 3 | 2 |
numericalPrecisionPolicyName: | 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 |
| | 3 | 2 |
rollbackName: | 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 |
| | 3 | 2 |
transactionName: | 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 |
| | 3 | 2 |
execName: | 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 |
| | 5 | 2 |
registerSqlDriverName: | 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 |
| | 3 | 2 |
setConnectOptionsName: | 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 |
| | 2 | 2 |
setDatabaseNameName: | 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 |
| | 2 | 2 |
setHostNameName: | 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 |
| | 2 | 2 |
setNumericalPrecisionPolicyName: | 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 |
| | 3 | 2 |
setPasswordName: | 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 |
| | 2 | 2 |
setPortName: | 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 |
| | 2 | 2 |
setUserNameName: | 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 |
| | 2 | 2 |
driversName: | 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 |
| | 14 | 6 |
QSqlDatabaseName: | 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 |
| | 2 | 1 |
QSqlDatabaseName: | 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 |
| | 2 | 1 |
QSqlDatabaseName: | 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 |
| | 2 | 1 |
addDatabaseName: | 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 |
| | 3 | 1 |
closeName: | 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 |
| | 1 | 1 |
connectionNameName: | 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 |
| | 1 | 1 |
containsName: | 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 |
| | 1 | 1 |
databaseName: | 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 |
| | 1 | 1 |
databaseNameName: | 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 |
| | 1 | 1 |
driverName: | 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 |
| | 1 | 1 |
driverNameName: | 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 |
| | 1 | 1 |
hostNameName: | 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 |
| | 1 | 1 |
isOpenName: | 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 |
| | 1 | 1 |
isOpenErrorName: | 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 |
| | 1 | 1 |
isValidName: | 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 |
| | 1 | 1 |
lastErrorName: | 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 |
| | 1 | 1 |
openName: | 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 |
| | 2 | 1 |
openName: | 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 |
| | 3 | 1 |
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 |
| | 2 | 1 |
passwordName: | 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 |
| | 1 | 1 |
portName: | 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 |
| | 1 | 1 |
primaryIndexName: | 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 |
| | 1 | 1 |
recordName: | 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 |
| | 1 | 1 |
removeDatabaseName: | 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 |
| | 1 | 1 |
tablesName: | 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 |
| | 1 | 1 |
userNameName: | 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 |
| | 1 | 1 |
~QSqlDatabaseName: | 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 |
| | 3 | 2 |