2026-05-04 13:39 ftp://ftp.de.debian.org/debian/pool/main/q/qt6-webchannel/qt6-webchannel_6.10.2.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-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 519958a (2026-05-04 15:03:10 +0200) count: 29 29 elapsed-time: 0.3 0.2 head-timing-info: old-timing-info: head results: qtwebchannel-everywhere-src-6.10.2/examples/webchannel/chatserver-cpp/chatserver.h:38:17: performance: Function 'userList()' should return member 'm_userList' by const reference. [returnByReference] qtwebchannel-everywhere-src-6.10.2/examples/webchannel/chatserver-cpp/main.cpp:18:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NonSecureMode [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-6.10.2/examples/webchannel/shared/websocketclientwrapper.h:20:5: style: Class 'WebSocketClientWrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtwebchannel-everywhere-src-6.10.2/examples/webchannel/shared/websockettransport.cpp:31:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable deleteLater [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-6.10.2/examples/webchannel/shared/websockettransport.cpp:48:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Compact [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-6.10.2/examples/webchannel/shared/websockettransport.cpp:54:61: style:inconclusive: Function 'textMessageReceived' argument 1 names different: declaration 'message' definition 'messageData'. [funcArgNamesDifferent] qtwebchannel-everywhere-src-6.10.2/examples/webchannel/shared/websockettransport.h:23:45: note: Function 'textMessageReceived' argument 1 names different: declaration 'message' definition 'messageData'. qtwebchannel-everywhere-src-6.10.2/examples/webchannel/shared/websockettransport.cpp:54:61: note: Function 'textMessageReceived' argument 1 names different: declaration 'message' definition 'messageData'. qtwebchannel-everywhere-src-6.10.2/examples/webchannel/standalone/main.cpp:28:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NonSecureMode [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-6.10.2/examples/webchannel/standalone/core.h:18:5: style: Class 'Core' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtwebchannel-everywhere-src-6.10.2/src/webchannel/qmetaobjectpublisher_p.h:333:5: error: failed to expand 'Q_OBJECT_BINDABLE_PROPERTY', Wrong number of parameters for macro 'Q_OBJECT_BINDABLE_PROPERTY'. [syntaxError] qtwebchannel-everywhere-src-6.10.2/src/webchannelquick/qqmlwebchannel.h:44:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-6.10.2/src/webchannelquick/qqmlwebchannel.cpp:60:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-6.10.2/src/webchannelquick/qqmlwebchannel.cpp:204:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QString [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-6.10.2/src/webchannelquick/qqmlwebchannel.cpp:180:89: style:inconclusive: Function 'registeredObjects_append' argument 2 names different: declaration 'item' definition 'object'. [funcArgNamesDifferent] qtwebchannel-everywhere-src-6.10.2/src/webchannelquick/qqmlwebchannel.h:47:84: note: Function 'registeredObjects_append' argument 2 names different: declaration 'item' definition 'object'. qtwebchannel-everywhere-src-6.10.2/src/webchannelquick/qqmlwebchannel.cpp:180:89: note: Function 'registeredObjects_append' argument 2 names different: declaration 'item' definition 'object'. qtwebchannel-everywhere-src-6.10.2/src/webchannelquick/qqmlwebchannel.cpp:232:82: style:inconclusive: Function 'transports_append' argument 2 names different: declaration 'item' definition 'transport'. [funcArgNamesDifferent] qtwebchannel-everywhere-src-6.10.2/src/webchannelquick/qqmlwebchannel.h:52:77: note: Function 'transports_append' argument 2 names different: declaration 'item' definition 'transport'. qtwebchannel-everywhere-src-6.10.2/src/webchannelquick/qqmlwebchannel.cpp:232:82: note: Function 'transports_append' argument 2 names different: declaration 'item' definition 'transport'. qtwebchannel-everywhere-src-6.10.2/src/webchannelquick/qqmlwebchannelattached_p.h:36:13: performance: Function 'id()' should return member 'm_id' by const reference. [returnByReference] qtwebchannel-everywhere-src-6.10.2/tests/auto/qml/testobject.h:49:5: error: failed to expand 'Q_OBJECT_BINDABLE_PROPERTY_WITH_ARGS', Wrong number of parameters for macro 'Q_OBJECT_BINDABLE_PROPERTY_WITH_ARGS'. [syntaxError] qtwebchannel-everywhere-src-6.10.2/tests/auto/webchannel/tst_webchannel.h:203:5: error: failed to expand 'Q_OBJECT_BINDABLE_PROPERTY', Wrong number of parameters for macro 'Q_OBJECT_BINDABLE_PROPERTY'. [syntaxError] qtwebchannel-everywhere-src-6.10.2/tests/benchmarks/webchannel/tst_bench_qwebchannel.h:107:10: style: Either there is a missing 'override', or the member function 'BenchObject::m0' can be static. [functionStatic] qtwebchannel-everywhere-src-6.10.2/tests/benchmarks/webchannel/tst_bench_qwebchannel.h:108:10: style: Either there is a missing 'override', or the member function 'BenchObject::m1' can be static. [functionStatic] qtwebchannel-everywhere-src-6.10.2/tests/benchmarks/webchannel/tst_bench_qwebchannel.h:109:10: style: Either there is a missing 'override', or the member function 'BenchObject::m2' can be static. [functionStatic] qtwebchannel-everywhere-src-6.10.2/tests/benchmarks/webchannel/tst_bench_qwebchannel.h:110:10: style: Either there is a missing 'override', or the member function 'BenchObject::m3' can be static. [functionStatic] qtwebchannel-everywhere-src-6.10.2/tests/benchmarks/webchannel/tst_bench_qwebchannel.h:111:10: style: Either there is a missing 'override', or the member function 'BenchObject::m4' can be static. [functionStatic] qtwebchannel-everywhere-src-6.10.2/tests/benchmarks/webchannel/tst_bench_qwebchannel.h:112:10: style: Either there is a missing 'override', or the member function 'BenchObject::m5' can be static. [functionStatic] qtwebchannel-everywhere-src-6.10.2/tests/benchmarks/webchannel/tst_bench_qwebchannel.h:113:10: style: Either there is a missing 'override', or the member function 'BenchObject::m6' can be static. [functionStatic] qtwebchannel-everywhere-src-6.10.2/tests/benchmarks/webchannel/tst_bench_qwebchannel.h:114:10: style: Either there is a missing 'override', or the member function 'BenchObject::m7' can be static. [functionStatic] qtwebchannel-everywhere-src-6.10.2/tests/benchmarks/webchannel/tst_bench_qwebchannel.h:115:10: style: Either there is a missing 'override', or the member function 'BenchObject::m8' can be static. [functionStatic] qtwebchannel-everywhere-src-6.10.2/tests/benchmarks/webchannel/tst_bench_qwebchannel.h:116:10: style: Either there is a missing 'override', or the member function 'BenchObject::m9' can be static. [functionStatic] qtwebchannel-everywhere-src-6.10.2/tests/benchmarks/webchannel/tst_bench_qwebchannel.cpp:19:5: style: Class 'tst_bench_QWebChannel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtwebchannel-everywhere-src-6.10.2/tests/benchmarks/webchannel/tst_bench_qwebchannel.cpp:124:11: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] diff: DONE