2026-05-31 21:30 ftp://ftp.de.debian.org/debian/pool/main/b/bdbvu/bdbvu_0.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.12.88+deb13-amd64-x86_64-with-glibc2.41 python: 3.12.13 client-version: 1.4.0 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.20.0 head-info: 8c14fc7 (2026-05-31 09:56:45 +0200) count: 20 19 elapsed-time: 0.0 0.0 head-timing-info: old-timing-info: head results: bdbvu-0.1/database.cpp:29:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_INIT_MPOOL [valueFlowBailoutIncompleteVar] bdbvu-0.1/database.cpp:46:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_RDWRMASTER [valueFlowBailoutIncompleteVar] bdbvu-0.1/database.cpp:96:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_IGNORE_LEASE [valueFlowBailoutIncompleteVar] bdbvu-0.1/database.cpp:108:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_RDWRMASTER [valueFlowBailoutIncompleteVar] bdbvu-0.1/database.cpp:165:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DB_IGNORE_LEASE [valueFlowBailoutIncompleteVar] bdbvu-0.1/database.h:38:40: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] bdbvu-0.1/database.cpp:25:11: warning: Member variable 'database::multiple' is not initialized in the constructor. [uninitMemberVar] bdbvu-0.1/database.h:67:10: style:inconclusive: Technically the member function 'database::isopen' can be const. [functionConst] bdbvu-0.1/database.cpp:181:19: style:inconclusive: Technically the member function 'database::getRecord' can be const. [functionConst] bdbvu-0.1/database.h:73:13: note: Technically the member function 'database::getRecord' can be const. bdbvu-0.1/database.cpp:181:19: note: Technically the member function 'database::getRecord' can be const. bdbvu-0.1/database.h:35:5: style: Class 'dbexception' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bdbvu-0.1/database.cpp:51:7: style: Exception should be caught by reference. [catchExceptionByValue] bdbvu-0.1/database.cpp:110:7: style: Exception should be caught by reference. [catchExceptionByValue] bdbvu-0.1/database.h:38:55: style: Obsolete function 'QString::toAscii' called. It is recommended to use 'QString::toLatin1' instead. [prohibitedtoAsciiCalled] bdbvu-0.1/database.cpp:108:31: style: Obsolete function 'QString::toAscii' called. It is recommended to use 'QString::toLatin1' instead. [prohibitedtoAsciiCalled] bdbvu-0.1/database.cpp:108:49: style: Obsolete function 'QString::toAscii' called. It is recommended to use 'QString::toLatin1' instead. [prohibitedtoAsciiCalled] bdbvu-0.1/database.cpp:41:33: style: Argument 'filename' shadows outer member [shadowMember] bdbvu-0.1/database.h:76:17: note: Shadowed member bdbvu-0.1/database.cpp:41:33: note: Shadow argument bdbvu-0.1/mainwindow.h:35:5: style: Class 'MainWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bdbvu-0.1/mainwindow.cpp:73:5: style: Exception should be caught by reference. [catchExceptionByValue] bdbvu-0.1/mainwindow.cpp:71:26: style: Obsolete function 'QString::toAscii' called. It is recommended to use 'QString::toLatin1' instead. [prohibitedtoAsciiCalled] bdbvu-0.1/mainwindow.cpp:67:35: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] diff: head bdbvu-0.1/database.cpp:41:33: style: Argument 'filename' shadows outer member [shadowMember] bdbvu-0.1/database.h:76:17: note: Shadowed member bdbvu-0.1/database.cpp:41:33: note: Shadow argument DONE