2025-11-01 06:28 ftp://ftp.de.debian.org/debian/pool/main/p/plasma-gmailfeed/plasma-gmailfeed_2.0.orig.tar.xz 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.8.0-87-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 5016808 (2025-10-31 22:45:09 +0100) count: 8 8 elapsed-time: 0.1 0.3 head-timing-info: old-timing-info: head results: plasma-gmailfeed-2.0/plugin/account.h:45:13: performance: Function 'feed()' should return member 'm_feed' by const reference. [returnByReference] plasma-gmailfeed-2.0/plugin/account.h:47:13: performance: Function 'name()' should return member 'm_name' by const reference. [returnByReference] plasma-gmailfeed-2.0/plugin/networkstatus.h:35:121: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Online [valueFlowBailoutIncompleteVar] plasma-gmailfeed-2.0/plugin/gxmlModel.h:61:13: performance: Function 'xml()' should return member 'm_xml' by const reference. [returnByReference] plasma-gmailfeed-2.0/plugin/gxmlModel.h:69:25: performance: Function 'errorString()' should return member 'm_errorString' by const reference. [returnByReference] plasma-gmailfeed-2.0/plugin/gxmlModel.cpp:91:9: style: Local variable 'fullcount' shadows outer function [shadowFunction] plasma-gmailfeed-2.0/plugin/gxmlModel.h:63:9: note: Shadowed declaration plasma-gmailfeed-2.0/plugin/gxmlModel.cpp:91:9: note: Shadow variable plasma-gmailfeed-2.0/plugin/gxmlModel.cpp:87:39: performance: Function parameter 'xml' should be passed by const reference. However it seems that 'parseXml' is a callback function. [passedByValueCallback] plasma-gmailfeed-2.0/plugin/gxmlModel.cpp:83:63: note: Function pointer used here. plasma-gmailfeed-2.0/plugin/gxmlModel.cpp:87:39: note: Function parameter 'xml' should be passed by const reference. However it seems that 'parseXml' is a callback function. plasma-gmailfeed-2.0/plugin/networkstatus.cpp:26:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Reachability [valueFlowBailoutIncompleteVar] diff: DONE