2025-09-13 20:58 ftp://ftp.de.debian.org/debian/pool/main/l/lomiri-push-qml/lomiri-push-qml_0.3.orig.tar.bz2 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 -j4 platform: Linux-6.12.43+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: fea194b (2025-09-13 13:40:14 +0200) count: 12 12 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: lomiri-push-qml-0.3/src/Lomiri/PushNotifications/plugin.cpp:41:0: error: failed to expand 'Q_ASSERT', it is invalid to use a preprocessor directive as macro parameter [preprocessorErrorDirective] lomiri-push-qml-0.3/src/Lomiri/PushNotifications/plugin.cpp:41:1: error: failed to expand 'Q_ASSERT', it is invalid to use a preprocessor directive as macro parameter [preprocessorErrorDirective] lomiri-push-qml-0.3/src/Lomiri/PushNotifications/pushclient.cpp:84:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QString [valueFlowBailoutIncompleteVar] lomiri-push-qml-0.3/src/Lomiri/PushNotifications/pushclient.cpp:152:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ErrorMessage [valueFlowBailoutIncompleteVar] lomiri-push-qml-0.3/src/Lomiri/PushNotifications/pushclient.cpp:32:13: warning: Member variable 'PushClient::counter' is not initialized in the constructor. [uninitMemberVar] lomiri-push-qml-0.3/src/Lomiri/PushNotifications/pushclient.h:34:13: style:inconclusive: Either there is a missing 'override', or the member function 'PushClient::getStatus' can be const. [functionConst] lomiri-push-qml-0.3/src/Lomiri/PushNotifications/pushclient.cpp:104:21: style:inconclusive: Either there is a missing 'override', or the member function 'PushClient::getAppId' can be const. [functionConst] lomiri-push-qml-0.3/src/Lomiri/PushNotifications/pushclient.h:35:13: note: Either there is a missing 'override', or the member function 'PushClient::getAppId' can be const. lomiri-push-qml-0.3/src/Lomiri/PushNotifications/pushclient.cpp:104:21: note: Either there is a missing 'override', or the member function 'PushClient::getAppId' can be const. lomiri-push-qml-0.3/src/Lomiri/PushNotifications/pushclient.cpp:108:21: style:inconclusive: Either there is a missing 'override', or the member function 'PushClient::getToken' can be const. [functionConst] lomiri-push-qml-0.3/src/Lomiri/PushNotifications/pushclient.h:36:13: note: Either there is a missing 'override', or the member function 'PushClient::getToken' can be const. lomiri-push-qml-0.3/src/Lomiri/PushNotifications/pushclient.cpp:108:21: note: Either there is a missing 'override', or the member function 'PushClient::getToken' can be const. lomiri-push-qml-0.3/src/Lomiri/PushNotifications/pushclient.cpp:206:17: style:inconclusive: Either there is a missing 'override', or the member function 'PushClient::getCount' can be const. [functionConst] lomiri-push-qml-0.3/src/Lomiri/PushNotifications/pushclient.h:39:9: note: Either there is a missing 'override', or the member function 'PushClient::getCount' can be const. lomiri-push-qml-0.3/src/Lomiri/PushNotifications/pushclient.cpp:206:17: note: Either there is a missing 'override', or the member function 'PushClient::getCount' can be const. lomiri-push-qml-0.3/src/Lomiri/PushNotifications/pushclient.h:35:13: performance: Function 'getAppId()' should return member 'appId' by const reference. [returnByReference] lomiri-push-qml-0.3/src/Lomiri/PushNotifications/pushclient.h:36:13: performance: Function 'getToken()' should return member 'token' by const reference. [returnByReference] lomiri-push-qml-0.3/src/Lomiri/PushNotifications/pushclient.cpp:38:42: style:inconclusive: Function 'setAppId' argument 1 names different: declaration 'appid' definition 'appId'. [funcArgNamesDifferent] lomiri-push-qml-0.3/src/Lomiri/PushNotifications/pushclient.h:33:34: note: Function 'setAppId' argument 1 names different: declaration 'appid' definition 'appId'. lomiri-push-qml-0.3/src/Lomiri/PushNotifications/pushclient.cpp:38:42: note: Function 'setAppId' argument 1 names different: declaration 'appid' definition 'appId'. diff: DONE