2026-05-27 14:21 ftp://ftp.de.debian.org/debian/pool/main/k/kpackage/kpackage_5.116.0.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --library=kde --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 -j96 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.20.0 head-info: c3e9383 (2026-05-27 14:26:28 +0200) count: 23 17 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: kpackage-5.116.0/autotests/plasmoidpackagetest.cpp:182:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KPACKAGE_ENABLE_DEPRECATED_SINCE( ... ) [syntaxError] kpackage-5.116.0/src/kpackage/package.h:176:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KPACKAGE_ENABLE_DEPRECATED_SINCE( ... ) [syntaxError] kpackage-5.116.0/src/kpackage/packageloader.h:92:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KPACKAGE_BUILD_DEPRECATED_SINCE( ... ) [syntaxError] kpackage-5.116.0/src/kpackage/version.cpp:9:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KPACKAGE_BUILD_DEPRECATED_SINCE( ... ) [syntaxError] kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:220:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KCOREADDONS_BUILD_DEPRECATED_SINCE( ... ) [syntaxError] kpackage-5.116.0/autotests/rccpackagetest.cpp:21:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericDataLocation [valueFlowBailoutIncompleteVar] kpackage-5.116.0/autotests/rccpackagetest.cpp:52:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericDataLocation [valueFlowBailoutIncompleteVar] kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:406:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KCOREADDONS_BUILD_DEPRECATED_SINCE( ... ) [syntaxError] kpackage-5.116.0/autotests/querytest.cpp:24:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KPACKAGE_DEP_RESOLVERS [valueFlowBailoutIncompleteVar] kpackage-5.116.0/autotests/rccpackagetest.cpp:75:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sha1 [valueFlowBailoutIncompleteVar] kpackage-5.116.0/autotests/querytest.cpp:57:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoError [valueFlowBailoutIncompleteVar] kpackage-5.116.0/autotests/querytest.cpp:87:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoError [valueFlowBailoutIncompleteVar] kpackage-5.116.0/autotests/querytest.cpp:113:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoError [valueFlowBailoutIncompleteVar] kpackage-5.116.0/autotests/rccpackagetest.h:15:1: style: The class 'RccPackageTest' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] kpackage-5.116.0/autotests/rccpackagetest.h:27:24: warning: Member variable 'RccPackageTest::m_pkg' has no initializer. [uninitMemberVarNoCtor] kpackage-5.116.0/autotests/rccpackagetest.h:28:24: warning: Member variable 'RccPackageTest::m_pkg2' has no initializer. [uninitMemberVarNoCtor] kpackage-5.116.0/autotests/rccpackagetest.cpp:23:9: style: Error code from the return value of function dir.mkpath() is not used. [ignoredReturnErrorCode] kpackage-5.116.0/autotests/rccpackagetest.cpp:24:9: style: Error code from the return value of function dir.mkpath() is not used. [ignoredReturnErrorCode] kpackage-5.116.0/autotests/rccpackagetest.cpp:25:9: style: Error code from the return value of function dir.mkpath() is not used. [ignoredReturnErrorCode] kpackage-5.116.0/autotests/rccpackagetest.cpp:26:9: style: Error code from the return value of function dir.mkpath() is not used. [ignoredReturnErrorCode] kpackage-5.116.0/autotests/packagestructuretest.cpp:167:29: style: Local variable 'files' shadows outer function [shadowFunction] kpackage-5.116.0/autotests/packagestructuretest.h:30:10: note: Shadowed function kpackage-5.116.0/autotests/packagestructuretest.cpp:167:29: note: Shadow local variable kpackage-5.116.0/autotests/packagestructuretest.cpp:228:13: style: Local variable 'path' shadows outer function [shadowFunction] kpackage-5.116.0/autotests/packagestructuretest.h:32:10: note: Shadowed function kpackage-5.116.0/autotests/packagestructuretest.cpp:228:13: note: Shadow local variable kpackage-5.116.0/autotests/packagestructuretest.cpp:311:23: style: Local variable 'files' shadows outer function [shadowFunction] kpackage-5.116.0/autotests/packagestructuretest.h:30:10: note: Shadowed function kpackage-5.116.0/autotests/packagestructuretest.cpp:311:23: note: Shadow local variable diff: 2.20.0 kpackage-5.116.0/autotests/packagestructuretest.cpp:167:29: style: Local variable 'files' shadows outer function [shadowFunction] kpackage-5.116.0/autotests/packagestructuretest.h:30:10: note: Shadowed declaration kpackage-5.116.0/autotests/packagestructuretest.cpp:167:29: note: Shadow variable head kpackage-5.116.0/autotests/packagestructuretest.cpp:167:29: style: Local variable 'files' shadows outer function [shadowFunction] kpackage-5.116.0/autotests/packagestructuretest.h:30:10: note: Shadowed function kpackage-5.116.0/autotests/packagestructuretest.cpp:167:29: note: Shadow local variable 2.20.0 kpackage-5.116.0/autotests/packagestructuretest.cpp:228:13: style: Local variable 'path' shadows outer function [shadowFunction] kpackage-5.116.0/autotests/packagestructuretest.h:32:10: note: Shadowed declaration kpackage-5.116.0/autotests/packagestructuretest.cpp:228:13: note: Shadow variable head kpackage-5.116.0/autotests/packagestructuretest.cpp:228:13: style: Local variable 'path' shadows outer function [shadowFunction] kpackage-5.116.0/autotests/packagestructuretest.h:32:10: note: Shadowed function kpackage-5.116.0/autotests/packagestructuretest.cpp:228:13: note: Shadow local variable 2.20.0 kpackage-5.116.0/autotests/packagestructuretest.cpp:311:23: style: Local variable 'files' shadows outer function [shadowFunction] kpackage-5.116.0/autotests/packagestructuretest.h:30:10: note: Shadowed declaration kpackage-5.116.0/autotests/packagestructuretest.cpp:311:23: note: Shadow variable head kpackage-5.116.0/autotests/packagestructuretest.cpp:311:23: style: Local variable 'files' shadows outer function [shadowFunction] kpackage-5.116.0/autotests/packagestructuretest.h:30:10: note: Shadowed function kpackage-5.116.0/autotests/packagestructuretest.cpp:311:23: note: Shadow local variable head kpackage-5.116.0/autotests/rccpackagetest.cpp:23:9: style: Error code from the return value of function dir.mkpath() is not used. [ignoredReturnErrorCode] head kpackage-5.116.0/autotests/rccpackagetest.cpp:24:9: style: Error code from the return value of function dir.mkpath() is not used. [ignoredReturnErrorCode] head kpackage-5.116.0/autotests/rccpackagetest.cpp:25:9: style: Error code from the return value of function dir.mkpath() is not used. [ignoredReturnErrorCode] head kpackage-5.116.0/autotests/rccpackagetest.cpp:26:9: style: Error code from the return value of function dir.mkpath() is not used. [ignoredReturnErrorCode] head kpackage-5.116.0/autotests/rccpackagetest.h:27:24: warning: Member variable 'RccPackageTest::m_pkg' has no initializer. [uninitMemberVarNoCtor] head kpackage-5.116.0/autotests/rccpackagetest.h:28:24: warning: Member variable 'RccPackageTest::m_pkg2' has no initializer. [uninitMemberVarNoCtor] DONE