2025-11-19 01:32 ftp://ftp.de.debian.org/debian/pool/main/q/qtwebchannel-opensource-src/qtwebchannel-opensource-src_5.15.17.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 -j4 platform: Linux-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: 1ca1246 (2025-11-18 18:56:39 +0100) count: 79 79 elapsed-time: 0.5 0.6 head-timing-info: old-timing-info: head results: qtwebchannel-everywhere-src-5.15.17/examples/webchannel/chatserver-cpp/main.cpp:65:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NonSecureMode [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/examples/webchannel/shared/websockettransport.cpp:78:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable deleteLater [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/examples/webchannel/shared/websockettransport.cpp:95:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Compact [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/examples/webchannel/shared/websocketclientwrapper.h:67:5: style: Class 'WebSocketClientWrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtwebchannel-everywhere-src-5.15.17/examples/webchannel/chatserver-cpp/chatserver.h:85:17: performance: Function 'userList()' should return member 'm_userList' by const reference. [returnByReference] qtwebchannel-everywhere-src-5.15.17/examples/webchannel/shared/websockettransport.cpp:101:61: style:inconclusive: Function 'textMessageReceived' argument 1 names different: declaration 'message' definition 'messageData'. [funcArgNamesDifferent] qtwebchannel-everywhere-src-5.15.17/examples/webchannel/shared/websockettransport.h:70:45: note: Function 'textMessageReceived' argument 1 names different: declaration 'message' definition 'messageData'. qtwebchannel-everywhere-src-5.15.17/examples/webchannel/shared/websockettransport.cpp:101:61: note: Function 'textMessageReceived' argument 1 names different: declaration 'message' definition 'messageData'. qtwebchannel-everywhere-src-5.15.17/src/imports/webchannel/plugin.cpp:65:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QT_VERSION_MINOR [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/examples/webchannel/standalone/main.cpp:75:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NonSecureMode [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/imports/webchannel/plugin.cpp:54:5: style: Class 'QWebChannelPlugin' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtwebchannel-everywhere-src-5.15.17/examples/webchannel/standalone/core.h:65:5: style: Class 'Core' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qqmlwebchannelattached_p.h:69:13: performance: Function 'id()' should return member 'm_id' by const reference. [returnByReference] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qqmlwebchannel.h:76:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qwebchannel_p.h:67:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/signalhandler_p.h:166:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Signal [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qqmlwebchannel.cpp:94:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qqmlwebchannel.cpp:229:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QString [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/signalhandler_p.h:187:131: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AutoConnection [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/signalhandler_p.h:209:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UnknownType [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/signalhandler_p.h:236:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QVariant [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/signalhandler_p.h:268:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvokeMetaMethod [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/signalhandler_p.h:291:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable staticMetaObject [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qwebchannel.h:80:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qwebchannel.cpp:240:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UniqueConnection [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher_p.h:298:9: style: Struct 'ObjectInfo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtwebchannel-everywhere-src-5.15.17/src/webchannel/signalhandler_p.h:75:5: style: Class 'SignalHandler < QMetaObjectPublisher >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qqmlwebchannel.cpp:214:89: style:inconclusive: Function 'registeredObjects_append' argument 2 names different: declaration 'item' definition 'object'. [funcArgNamesDifferent] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qqmlwebchannel.h:79:84: note: Function 'registeredObjects_append' argument 2 names different: declaration 'item' definition 'object'. qtwebchannel-everywhere-src-5.15.17/src/webchannel/qqmlwebchannel.cpp:214:89: note: Function 'registeredObjects_append' argument 2 names different: declaration 'item' definition 'object'. qtwebchannel-everywhere-src-5.15.17/src/webchannel/qqmlwebchannel.cpp:260:82: style:inconclusive: Function 'transports_append' argument 2 names different: declaration 'item' definition 'transport'. [funcArgNamesDifferent] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qqmlwebchannel.h:84:77: note: Function 'transports_append' argument 2 names different: declaration 'item' definition 'transport'. qtwebchannel-everywhere-src-5.15.17/src/webchannel/qqmlwebchannel.cpp:260:82: note: Function 'transports_append' argument 2 names different: declaration 'item' definition 'transport'. qtwebchannel-everywhere-src-5.15.17/tests/auto/qml/testwebchannel.cpp:49:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clientIsIdle [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qwebchannel.h:81:5: style: Class 'QWebChannel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:69:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PointerToQObject [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:126:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IsEnumeration [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:272:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Signal [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:442:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Public [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:505:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Public [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:616:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QJsonValue [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:647:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QJsonValue [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:704:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable transports [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:781:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IsEnumeration [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:878:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.cpp:696:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Double [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.cpp:1024:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable deleteChannel [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.cpp:1110:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clientIsIdle [valueFlowBailoutIncompleteVar] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:117:9: performance:inconclusive: Either there is a missing 'override', or the member function 'TestObject::asdf' can be static. [functionStatic] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:156:10: performance:inconclusive: Either there is a missing 'override', or the member function 'TestObject::slot1' can be static. [functionStatic] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:157:10: performance:inconclusive: Either there is a missing 'override', or the member function 'TestObject::slot2' can be static. [functionStatic] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:174:12: style:inconclusive: Either there is a missing 'override', or the member function 'TestObject::overload' can be const. [functionConst] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:175:9: style:inconclusive: Either there is a missing 'override', or the member function 'TestObject::overload' can be const. [functionConst] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:177:13: style:inconclusive: Either there is a missing 'override', or the member function 'TestObject::overload' can be const. [functionConst] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:182:10: performance:inconclusive: Either there is a missing 'override', or the member function 'TestObject::slot3' can be static. [functionStatic] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:185:10: performance:inconclusive: Either there is a missing 'override', or the member function 'TestObject::slot4' can be static. [functionStatic] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:272:10: performance:inconclusive: Either there is a missing 'override', or the member function 'BenchObject::m0' can be static. [functionStatic] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:273:10: performance:inconclusive: Either there is a missing 'override', or the member function 'BenchObject::m1' can be static. [functionStatic] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:274:10: performance:inconclusive: Either there is a missing 'override', or the member function 'BenchObject::m2' can be static. [functionStatic] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:275:10: performance:inconclusive: Either there is a missing 'override', or the member function 'BenchObject::m3' can be static. [functionStatic] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:276:10: performance:inconclusive: Either there is a missing 'override', or the member function 'BenchObject::m4' can be static. [functionStatic] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:277:10: performance:inconclusive: Either there is a missing 'override', or the member function 'BenchObject::m5' can be static. [functionStatic] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:278:10: performance:inconclusive: Either there is a missing 'override', or the member function 'BenchObject::m6' can be static. [functionStatic] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:279:10: performance:inconclusive: Either there is a missing 'override', or the member function 'BenchObject::m7' can be static. [functionStatic] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:280:10: performance:inconclusive: Either there is a missing 'override', or the member function 'BenchObject::m8' can be static. [functionStatic] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:281:10: performance:inconclusive: Either there is a missing 'override', or the member function 'BenchObject::m9' can be static. [functionStatic] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.cpp:295:21: style:inconclusive: Either there is a missing 'override', or the member function 'TestWebChannel::readOverload' can be const. [functionConst] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:318:9: note: Either there is a missing 'override', or the member function 'TestWebChannel::readOverload' can be const. qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.cpp:295:21: note: Either there is a missing 'override', or the member function 'TestWebChannel::readOverload' can be const. qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.cpp:300:25: style:inconclusive: Either there is a missing 'override', or the member function 'TestWebChannel::readOverload' can be const. [functionConst] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:319:13: note: Either there is a missing 'override', or the member function 'TestWebChannel::readOverload' can be const. qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.cpp:300:25: note: Either there is a missing 'override', or the member function 'TestWebChannel::readOverload' can be const. qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:44:5: style: Struct 'TestStruct' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.cpp:998:5: style: Class 'FunctionWrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:71:26: performance: Function 'messagesSent()' should return member 'mMessagesSent' by const reference. [returnByReference] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.h:130:13: performance: Function 'prop()' should return member 'mProp' by const reference. [returnByReference] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.cpp:941:16: style: Redundant initialization for 'objectInfo'. The initialized value is overwritten before it is read. [redundantInitialization] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.cpp:938:28: note: objectInfo is initialized qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.cpp:941:16: note: objectInfo is overwritten qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.cpp:426:20: style: Local variable 'expected' shadows outer variable [shadowVariable] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.cpp:386:16: note: Shadowed declaration qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.cpp:426:20: note: Shadow variable qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.cpp:537:20: style: Local variable 'args' shadows outer variable [shadowVariable] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.cpp:525:16: note: Shadowed declaration qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.cpp:537:20: note: Shadow variable qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.cpp:766:18: style: Variable 'unwrapped' can be declared as pointer to const [constVariablePointer] qtwebchannel-everywhere-src-5.15.17/tests/auto/webchannel/tst_webchannel.cpp:772:18: style: Variable 'unwrapped' can be declared as pointer to const [constVariablePointer] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:135:5: style: Struct 'OverloadResolutionCandidate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:912:17: style: Condition '!publisherExists' is always false [knownConditionTrueFalse] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:227:24: style: Local variable 'metaObject' shadows outer function [shadowFunction] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher_p.h:91:5: note: Shadowed declaration qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:227:24: note: Shadow variable qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:379:34: style: Local variable 'metaObject' shadows outer function [shadowFunction] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher_p.h:91:5: note: Shadowed declaration qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:379:34: note: Shadow variable qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:750:27: style: Local variable 'transport' shadows outer argument [shadowArgument] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:722:99: note: Shadowed declaration qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:750:27: note: Shadow variable qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:663:18: style: Variable 'unwrappedObject' can be declared as pointer to const [constVariablePointer] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:715:5: style: Variable 'obj' can be declared as pointer to const [constVariablePointer] qtwebchannel-everywhere-src-5.15.17/src/webchannel/qmetaobjectpublisher.cpp:828:71: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] diff: DONE