2025-08-31 20:52 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=kde --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 -j4 platform: Linux-6.12.41+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 2ee39fe (2025-08-30 22:07:31 +0200) count: 23 115 elapsed-time: 0.1 0.3 head-timing-info: old-timing-info: head results: kpackage-5.116.0/autotests/plasmoidpackagetest.cpp:182:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KPACKAGE_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] kpackage-5.116.0/autotests/plasmoidpackagetest.cpp:182:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KPACKAGE_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 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/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/src/kpackage/package.h:176:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KPACKAGE_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 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( ... ) [preprocessorErrorDirective] 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/autotests/rccpackagetest.cpp:75:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sha1 [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/src/kpackage/packageloader.h:92:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KPACKAGE_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 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( ... ) [preprocessorErrorDirective] kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:220:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KCOREADDONS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 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( ... ) [preprocessorErrorDirective] kpackage-5.116.0/src/kpackage/version.cpp:9:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KPACKAGE_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 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( ... ) [preprocessorErrorDirective] 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 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 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 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:406:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KCOREADDONS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 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( ... ) [preprocessorErrorDirective] diff: 2.18.0 kpackage-5.116.0/autotests/plasmoidpackagetest.cpp:149:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] head kpackage-5.116.0/autotests/plasmoidpackagetest.cpp:182:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KPACKAGE_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head kpackage-5.116.0/autotests/plasmoidpackagetest.cpp:182:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KPACKAGE_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 2.18.0 kpackage-5.116.0/autotests/plasmoidpackagetest.cpp:195:5: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] 2.18.0 kpackage-5.116.0/autotests/plasmoidpackagetest.cpp:202:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/autotests/plasmoidpackagetest.cpp:262:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/autotests/plasmoidpackagetest.cpp:308:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/autotests/plasmoidpackagetest.cpp:347:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/autotests/plasmoidpackagetest.cpp:35:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericDataLocation [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/autotests/plasmoidpackagetest.cpp:426:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finished [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/autotests/plasmoidpackagetest.cpp:432:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoError [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/autotests/plasmoidpackagetest.cpp:437:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoError [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/autotests/plasmoidpackagetest.cpp:63:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/autotests/plasmoidpackagetest.h:15:1: style: The class 'PlasmoidPackageTest' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:1030:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KPACKAGE_LOG [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:1042:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_packageDeletionNotifier [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:105:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:140:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:154:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mimeTypes [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:261:13: style: Local variable 'tempRoot' shadows outer variable [shadowVariable] kpackage-5.116.0/src/kpackage/private/package_p.h:85:13: note: Shadowed declaration kpackage-5.116.0/src/kpackage/package.cpp:261:13: note: Shadow variable 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:262:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:302:9: warning: Assert statement calls a function which may have desired side effects: 'QDir'. [assertWithSideEffect] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:303:9: warning: Assert statement calls a function which may have desired side effects: 'QDir'. [assertWithSideEffect] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:310:9: warning: Assert statement calls a function which may have desired side effects: 'QDir'. [assertWithSideEffect] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:311:9: warning: Assert statement calls a function which may have desired side effects: 'QDir'. [assertWithSideEffect] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:317:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KPACKAGE_LOG [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:321:45: style:inconclusive: Function 'filePath' argument 1 names different: declaration 'key' definition 'fileType'. [funcArgNamesDifferent] kpackage-5.116.0/src/kpackage/package.h:150:40: note: Function 'filePath' argument 1 names different: declaration 'key' definition 'fileType'. kpackage-5.116.0/src/kpackage/package.cpp:321:45: note: Function 'filePath' argument 1 names different: declaration 'key' definition 'fileType'. 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:333:16: style: Local variable 'path' shadows outer function [shadowFunction] kpackage-5.116.0/src/kpackage/package.h:136:19: note: Shadowed declaration kpackage-5.116.0/src/kpackage/package.cpp:333:16: note: Shadow variable 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:371:29: style: Local variable 'path' shadows outer variable [shadowVariable] kpackage-5.116.0/src/kpackage/package.cpp:333:16: note: Shadowed declaration kpackage-5.116.0/src/kpackage/package.cpp:371:29: note: Shadow variable 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:401:41: style:inconclusive: Function 'fileUrl' argument 1 names different: declaration 'key' definition 'fileType'. [funcArgNamesDifferent] kpackage-5.116.0/src/kpackage/package.h:165:36: note: Function 'fileUrl' argument 1 names different: declaration 'key' definition 'fileType'. kpackage-5.116.0/src/kpackage/package.cpp:401:41: note: Function 'fileUrl' argument 1 names different: declaration 'key' definition 'fileType'. 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:403:13: style: Local variable 'path' shadows outer function [shadowFunction] kpackage-5.116.0/src/kpackage/package.h:136:19: note: Shadowed declaration kpackage-5.116.0/src/kpackage/package.cpp:403:13: note: Shadow variable 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:428:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable paths [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:429:29: style: Local variable 'path' shadows outer function [shadowFunction] kpackage-5.116.0/src/kpackage/package.h:136:19: note: Shadowed declaration kpackage-5.116.0/src/kpackage/package.cpp:429:29: note: Shadow variable 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:481:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:545:9: warning: Assert statement calls a function which may have desired side effects: 'QFile::exists'. [assertWithSideEffect] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:634:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KPACKAGE_LOG [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:739:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:739:25: style: Variable 'it.value().required' is assigned a value that is never used. [unreadVariable] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:758:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mimeTypes [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:758:26: style: Variable 'it.value().mimeTypes' is assigned a value that is never used. [unreadVariable] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:766:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable directory [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:779:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:792:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable directory [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:802:23: style: Local variable 'files' shadows outer function [shadowFunction] kpackage-5.116.0/src/kpackage/package.h:357:23: note: Shadowed declaration kpackage-5.116.0/src/kpackage/package.cpp:802:23: note: Shadow variable 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:805:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:827:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericDataLocation [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:849:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericDataLocation [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:939:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Name [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:971:16: style: Error code from the return value of function subDir.cd() is not used. [ignoredReturnErrorCode] 2.18.0 kpackage-5.116.0/src/kpackage/package.cpp:993:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KPACKAGE_LOG [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/package.h:136:19: performance: Function 'path()' should return member 'path' by const reference. [returnByReference] head kpackage-5.116.0/src/kpackage/package.h:176:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KPACKAGE_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head 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( ... ) [preprocessorErrorDirective] 2.18.0 kpackage-5.116.0/src/kpackage/package.h:200:17: performance: Function 'contentsPrefixPaths()' should return member 'contentsPrefixPaths' by const reference. [returnByReference] 2.18.0 kpackage-5.116.0/src/kpackage/package.h:205:13: performance: Function 'defaultPackageRoot()' should return member 'defaultPackageRoot' by const reference. [returnByReference] 2.18.0 kpackage-5.116.0/src/kpackage/packageloader.cpp:162:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericDataLocation [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/packageloader.cpp:246:13: style: Unused variable: error [unusedVariable] 2.18.0 kpackage-5.116.0/src/kpackage/packageloader.cpp:248:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KPACKAGE_LOG [valueFlowBailoutIncompleteVar] head kpackage-5.116.0/src/kpackage/packageloader.h:92:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KPACKAGE_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head 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( ... ) [preprocessorErrorDirective] 2.18.0 kpackage-5.116.0/src/kpackage/private/package_p.h:51:9: performance: Variable 'paths' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 kpackage-5.116.0/src/kpackage/private/package_p.h:52:9: performance: Variable 'name' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 kpackage-5.116.0/src/kpackage/private/package_p.h:53:9: performance: Variable 'mimeTypes' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejob.cpp:104:24: style: Variable 'packageType' can be declared as reference to const [constVariableReference] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejob.cpp:112:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QueuedConnection [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejob.cpp:26:13: style: class member 'PackageJobPrivate::installPath' is never used. [unusedStructMember] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejob.cpp:36:110: style: Parameter 'package' can be declared as pointer to const [constParameterPointer] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejob.cpp:52:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QueuedConnection [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejob.cpp:63:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoError [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejob_p.h:22:5: style: Class 'PackageJob' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:103:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Install [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:116:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDE_INSTALL_FULL_LIBEXECDIR_KF [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:131:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ForwardedChannels [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:144:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errorMessage [valueFlowBailoutIncompleteVar] head kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:220:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KCOREADDONS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head 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( ... ) [preprocessorErrorDirective] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:306:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:353:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Update [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:365:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errorMessage [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:372:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errorMessage [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:376:13: style: The scope of the variable 'pkg' can be reduced. [variableScope] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:377:13: style: The scope of the variable 'root' can be reduced. [variableScope] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:385:13: style: Variable 'pkg' is assigned a value that is never used. [unreadVariable] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:387:14: style: Variable 'root' is assigned a value that is never used. [unreadVariable] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:402:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errorCode [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:45:16: style: Error code from the return value of function target.cdUp() is not used. [ignoredReturnErrorCode] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:50:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Files [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:51:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:60:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:92:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/private/packagejobthread.cpp:98:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackage/private/utils.h:43:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KPACKAGE_LOG [valueFlowBailoutIncompleteVar] head kpackage-5.116.0/src/kpackage/version.cpp:9:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KPACKAGE_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head 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( ... ) [preprocessorErrorDirective] 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:159:27: style: Local variable 'structure' shadows outer variable [shadowVariable] kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:84:32: note: Shadowed declaration kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:159:27: note: Shadow variable 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:269:23: style: Variable 'uninstallJob' can be declared as pointer to const [constVariablePointer] 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:285:19: style: Variable 'installJob' can be declared as pointer to const [constVariablePointer] 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:300:26: performance:inconclusive: Technically the member function 'KPackage::PackageToolPrivate::coutput' can be static (but you may consider moving to unnamed namespace). [functionStatic] kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:64:10: note: Technically the member function 'KPackage::PackageToolPrivate::coutput' can be static (but you may consider moving to unnamed namespace). kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:300:26: note: Technically the member function 'KPackage::PackageToolPrivate::coutput' can be static (but you may consider moving to unnamed namespace). 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:302:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:306:26: performance:inconclusive: Technically the member function 'KPackage::PackageToolPrivate::cerror' can be static (but you may consider moving to unnamed namespace). [functionStatic] kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:65:10: note: Technically the member function 'KPackage::PackageToolPrivate::cerror' can be static (but you may consider moving to unnamed namespace). kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:306:26: note: Technically the member function 'KPackage::PackageToolPrivate::cerror' can be static (but you may consider moving to unnamed namespace). 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:308:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:312:33: performance:inconclusive: Technically the member function 'KPackage::PackageToolPrivate::packages' can be static (but you may consider moving to unnamed namespace). [functionStatic] kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:61:17: note: Technically the member function 'KPackage::PackageToolPrivate::packages' can be static (but you may consider moving to unnamed namespace). kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:312:33: note: Technically the member function 'KPackage::PackageToolPrivate::packages' can be static (but you may consider moving to unnamed namespace). 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:347:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:383:21: style: Local variable 'content' shadows outer variable [shadowVariable] kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:374:13: note: Shadowed declaration kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:383:21: note: Shadow variable head kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:406:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KCOREADDONS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head 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( ... ) [preprocessorErrorDirective] 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:429:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:548:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericDataLocation [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:568:26: performance:inconclusive: Technically the member function 'KPackage::PackageToolPrivate::renderTypeTable' can be static (but you may consider moving to unnamed namespace). [functionStatic] kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:62:10: note: Technically the member function 'KPackage::PackageToolPrivate::renderTypeTable' can be static (but you may consider moving to unnamed namespace). kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:568:26: note: Technically the member function 'KPackage::PackageToolPrivate::renderTypeTable' can be static (but you may consider moving to unnamed namespace). 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:587:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:59:13: style: class member 'PackageToolPrivate::installPath' is never used. [unusedStructMember] 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:606:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KPACKAGE_RELATIVE_DATA_INSTALL_DIR [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:634:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoError [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:651:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoError [valueFlowBailoutIncompleteVar] 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:656:19: style: Variable 'installJob' can be declared as pointer to const [constVariablePointer] 2.18.0 kpackage-5.116.0/src/kpackagetool/kpackagetool.cpp:89:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sha1 [valueFlowBailoutIncompleteVar] DONE