2025-11-19 01:41 ftp://ftp.de.debian.org/debian/pool/main/q/qtwebsockets-opensource-src/qtwebsockets-opensource-src_5.15.17.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --library=emscripten --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.57+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: 1ca1246 (2025-11-18 18:56:39 +0100) count: 195 220 elapsed-time: 0.5 0.5 head-timing-info: old-timing-info: head results: qtwebsockets-everywhere-src-5.15.17/examples/websockets/echoclient/main.cpp:70:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quit [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/examples/websockets/echoserver/echoserver.cpp:64:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Any [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/examples/websockets/echoserver/main.cpp:75:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quit [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/examples/websockets/echoclient/echoclient.cpp:81:48: performance: Function parameter 'message' should be passed by const reference. However it seems that 'onTextMessageReceived' is a callback function. [passedByValueCallback] qtwebsockets-everywhere-src-5.15.17/examples/websockets/echoclient/echoclient.cpp:75:32: note: Function pointer used here. qtwebsockets-everywhere-src-5.15.17/examples/websockets/echoclient/echoclient.cpp:81:48: note: Function parameter 'message' should be passed by const reference. However it seems that 'onTextMessageReceived' is a callback function. qtwebsockets-everywhere-src-5.15.17/examples/websockets/echoserver/main.cpp:74:17: style: Variable 'server' can be declared as pointer to const [constVariablePointer] qtwebsockets-everywhere-src-5.15.17/examples/websockets/sslechoclient/sslechoclient.h:62:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] qtwebsockets-everywhere-src-5.15.17/examples/websockets/sslechoclient/sslechoclient.cpp:62:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sslErrors [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/examples/websockets/simplechat/chatserver.cpp:73:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Any [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/examples/websockets/simplechat/chatserver.cpp:91:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/examples/websockets/simplechat/chatserver.cpp:118:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/examples/websockets/simplechat/chatserver.cpp:62:40: warning: Either the condition 'pClient' is redundant or there is possible null pointer dereference: peer. [nullPointerRedundantCheck] qtwebsockets-everywhere-src-5.15.17/examples/websockets/simplechat/chatserver.cpp:119:9: note: Assuming that condition 'pClient' is not redundant qtwebsockets-everywhere-src-5.15.17/examples/websockets/simplechat/chatserver.cpp:118:42: note: Calling function 'getIdentifier', 1st argument 'pClient' value is 0 qtwebsockets-everywhere-src-5.15.17/examples/websockets/simplechat/chatserver.cpp:62:40: note: Null pointer dereference qtwebsockets-everywhere-src-5.15.17/examples/websockets/simplechat/chatserver.cpp:63:56: warning: Either the condition 'pClient' is redundant or there is possible null pointer dereference: peer. [nullPointerRedundantCheck] qtwebsockets-everywhere-src-5.15.17/examples/websockets/simplechat/chatserver.cpp:119:9: note: Assuming that condition 'pClient' is not redundant qtwebsockets-everywhere-src-5.15.17/examples/websockets/simplechat/chatserver.cpp:118:42: note: Calling function 'getIdentifier', 1st argument 'pClient' value is 0 qtwebsockets-everywhere-src-5.15.17/examples/websockets/simplechat/chatserver.cpp:63:56: note: Null pointer dereference qtwebsockets-everywhere-src-5.15.17/examples/websockets/sslechoclient/sslechoclient.cpp:79:51: performance: Function parameter 'message' should be passed by const reference. However it seems that 'onTextMessageReceived' is a callback function. [passedByValueCallback] qtwebsockets-everywhere-src-5.15.17/examples/websockets/sslechoclient/sslechoclient.cpp:73:35: note: Function pointer used here. qtwebsockets-everywhere-src-5.15.17/examples/websockets/sslechoclient/sslechoclient.cpp:79:51: note: Function parameter 'message' should be passed by const reference. However it seems that 'onTextMessageReceived' is a callback function. qtwebsockets-everywhere-src-5.15.17/examples/websockets/simplechat/chatserver.cpp:106:17: style: Variable 'pSender' can be declared as pointer to const [constVariablePointer] qtwebsockets-everywhere-src-5.15.17/examples/websockets/sslechoserver/sslechoserver.cpp:71:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/imports/qmlwebsockets/qqmlwebsocket.h:86:5: error: There is an unknown macro here somewhere. Configuration is required. If Q_REVISION is a macro then please configure it. [unknownMacro] qtwebsockets-everywhere-src-5.15.17/src/websockets/qsslserver.cpp:118:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sslErrors [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketcorsauthenticator.cpp:154:9: style: Obsolete function 'qSwap' called. It is recommended to use 'std::swap' instead. [prohibitedqSwapCalled] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket.h:66:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.h:125:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_wasm_p.cpp:66:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UnconnectedState [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_wasm_p.cpp:77:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConnectedState [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_wasm_p.cpp:114:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Uninitialized [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_wasm_p.cpp:162:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClosingState [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_wasm_p.cpp:175:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConnectionRefusedError [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_wasm_p.cpp:202:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConnectedState [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket.cpp:425:21: style: Local variable 'request' shadows outer function [shadowFunction] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket.h:102:21: note: Shadowed declaration qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket.cpp:425:21: note: Shadow variable qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_wasm_p.cpp:156:80: performance: Function parameter 'reason' should be passed by const reference. [passedByValue] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketdataprocessor.cpp:166:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable readyRead [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketdataprocessor.cpp:257:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_READ_HEADER [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketdataprocessor.cpp:312:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConvertInvalidToNull [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketframe_p.h:92:16: performance: Function 'payload()' should return member 'm_payload' by const reference. [returnByReference] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest.cpp:203:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest.cpp:226:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:156:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable q_ptr [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:181:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConnectedState [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:200:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UnknownSocketError [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:327:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RemoveUserInfo [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:387:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConnectionRefusedError [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:589:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errorOccurred [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:769:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DatagramTooLargeError [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:781:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConnectedState [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:875:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sha1 [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:973:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NothingDoneState [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:1121:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConnectingState [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:1187:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConnectingState [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:1545:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConnectedState [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakeresponse.cpp:125:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sha1 [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakeresponse.cpp:244:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteFailed [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketprotocol_p.h:92:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CloseCodeReserved1004 [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketprotocol_p.h:98:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VersionLatest [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketprotocol.cpp:178:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VersionUnknown [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketserver.h:55:0: error: failed to evaluate #if condition, undefined function-like macro invocation: QT_HAS_INCLUDE( ... ) [syntaxError] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakeresponse_p.h:80:13: performance: Function 'acceptedProtocol()' should return member 'm_acceptedProtocol' by const reference. [returnByReference] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakeresponse_p.h:81:13: performance: Function 'acceptedExtension()' should return member 'm_acceptedExtension' by const reference. [returnByReference] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakeresponse_p.h:85:13: performance: Function 'errorString()' should return member 'm_errorString' by const reference. [returnByReference] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest_p.h:77:28: performance: Function 'headers()' should return member 'm_headers' by const reference. [returnByReference] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest_p.h:78:40: performance: Function 'versions()' should return member 'm_versions' by const reference. [returnByReference] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest_p.h:79:13: performance: Function 'key()' should return member 'm_key' by const reference. [returnByReference] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest_p.h:80:13: performance: Function 'origin()' should return member 'm_origin' by const reference. [returnByReference] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest_p.h:81:20: performance: Function 'protocols()' should return member 'm_protocols' by const reference. [returnByReference] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest_p.h:82:20: performance: Function 'extensions()' should return member 'm_extensions' by const reference. [returnByReference] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest.cpp:239:19: style: Local variable 'resourceName' shadows outer function [shadowFunction] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest_p.h:84:13: note: Shadowed declaration qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest.cpp:239:19: note: Shadow variable qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest.cpp:286:13: style: Local variable 'host' shadows outer function [shadowFunction] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest_p.h:85:13: note: Shadowed declaration qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest.cpp:286:13: note: Shadow variable qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest.cpp:304:27: style: Local variable 'versions' shadows outer function [shadowFunction] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest_p.h:78:40: note: Shadowed declaration qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest.cpp:304:27: note: Shadow variable qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest.cpp:333:27: style: Local variable 'protocols' shadows outer function [shadowFunction] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest_p.h:81:20: note: Shadowed declaration qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest.cpp:333:27: note: Shadow variable qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest.cpp:340:27: style: Local variable 'extensions' shadows outer function [shadowFunction] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest_p.h:82:20: note: Shadowed declaration qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsockethandshakerequest.cpp:340:27: note: Shadow variable qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakeresponse/tst_handshakeresponse.cpp:93:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Version [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakeresponse/tst_handshakeresponse.cpp:64:29: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_HandshakeResponse::initTestCase' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakeresponse/tst_handshakeresponse.cpp:53:10: note: Either there is a missing 'override', or the member function 'tst_HandshakeResponse::initTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakeresponse/tst_handshakeresponse.cpp:64:29: note: Either there is a missing 'override', or the member function 'tst_HandshakeResponse::initTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakeresponse/tst_handshakeresponse.cpp:68:29: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_HandshakeResponse::cleanupTestCase' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakeresponse/tst_handshakeresponse.cpp:54:10: note: Either there is a missing 'override', or the member function 'tst_HandshakeResponse::cleanupTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakeresponse/tst_handshakeresponse.cpp:68:29: note: Either there is a missing 'override', or the member function 'tst_HandshakeResponse::cleanupTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakeresponse/tst_handshakeresponse.cpp:77:29: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_HandshakeResponse::cleanup' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakeresponse/tst_handshakeresponse.cpp:56:10: note: Either there is a missing 'override', or the member function 'tst_HandshakeResponse::cleanup' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakeresponse/tst_handshakeresponse.cpp:77:29: note: Either there is a missing 'override', or the member function 'tst_HandshakeResponse::cleanup' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakerequest/tst_handshakerequest.cpp:219:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dataStream [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakerequest/tst_handshakerequest.cpp:271:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Version13 [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakerequest/tst_handshakerequest.cpp:299:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Version13 [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakerequest/tst_handshakerequest.cpp:335:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Version13 [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakerequest/tst_handshakerequest.cpp:414:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakerequest/tst_handshakerequest.cpp:510:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable header [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qdefaultmaskgenerator/tst_defaultmaskgenerator.cpp:64:33: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_QDefaultMaskGenerator::initTestCase' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qdefaultmaskgenerator/tst_defaultmaskgenerator.cpp:47:10: note: Either there is a missing 'override', or the member function 'tst_QDefaultMaskGenerator::initTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qdefaultmaskgenerator/tst_defaultmaskgenerator.cpp:64:33: note: Either there is a missing 'override', or the member function 'tst_QDefaultMaskGenerator::initTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qdefaultmaskgenerator/tst_defaultmaskgenerator.cpp:68:33: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_QDefaultMaskGenerator::cleanupTestCase' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qdefaultmaskgenerator/tst_defaultmaskgenerator.cpp:48:10: note: Either there is a missing 'override', or the member function 'tst_QDefaultMaskGenerator::cleanupTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qdefaultmaskgenerator/tst_defaultmaskgenerator.cpp:68:33: note: Either there is a missing 'override', or the member function 'tst_QDefaultMaskGenerator::cleanupTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qdefaultmaskgenerator/tst_defaultmaskgenerator.cpp:72:33: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_QDefaultMaskGenerator::init' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qdefaultmaskgenerator/tst_defaultmaskgenerator.cpp:49:10: note: Either there is a missing 'override', or the member function 'tst_QDefaultMaskGenerator::init' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qdefaultmaskgenerator/tst_defaultmaskgenerator.cpp:72:33: note: Either there is a missing 'override', or the member function 'tst_QDefaultMaskGenerator::init' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qdefaultmaskgenerator/tst_defaultmaskgenerator.cpp:76:33: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_QDefaultMaskGenerator::cleanup' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qdefaultmaskgenerator/tst_defaultmaskgenerator.cpp:50:10: note: Either there is a missing 'override', or the member function 'tst_QDefaultMaskGenerator::cleanup' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qdefaultmaskgenerator/tst_defaultmaskgenerator.cpp:76:33: note: Either there is a missing 'override', or the member function 'tst_QDefaultMaskGenerator::cleanup' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakerequest/tst_handshakerequest.cpp:79:28: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_HandshakeRequest::initTestCase' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakerequest/tst_handshakerequest.cpp:54:10: note: Either there is a missing 'override', or the member function 'tst_HandshakeRequest::initTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakerequest/tst_handshakerequest.cpp:79:28: note: Either there is a missing 'override', or the member function 'tst_HandshakeRequest::initTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakerequest/tst_handshakerequest.cpp:83:28: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_HandshakeRequest::cleanupTestCase' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakerequest/tst_handshakerequest.cpp:55:10: note: Either there is a missing 'override', or the member function 'tst_HandshakeRequest::cleanupTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakerequest/tst_handshakerequest.cpp:83:28: note: Either there is a missing 'override', or the member function 'tst_HandshakeRequest::cleanupTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakerequest/tst_handshakerequest.cpp:92:28: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_HandshakeRequest::cleanup' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakerequest/tst_handshakerequest.cpp:57:10: note: Either there is a missing 'override', or the member function 'tst_HandshakeRequest::cleanup' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/handshakerequest/tst_handshakerequest.cpp:92:28: note: Either there is a missing 'override', or the member function 'tst_HandshakeRequest::cleanup' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:248:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpCodeBinary [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:342:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpCodeText [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:406:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QString [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:457:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CloseCodeNormal [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:528:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpCodePing [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:542:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opCode [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:586:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable closeCode [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:680:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isContinuationFrame [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:727:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpCodeText [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:934:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpCodeText [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:985:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpCodeReserved3 [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1012:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpCodeClose [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1063:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpCodeClose [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1362:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isContinuationFrame [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1404:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpCodeText [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1473:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QString [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1510:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isContinuationFrame [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1641:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpCodeText [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1670:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpCodeText [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1700:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CloseCodeNormal [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1737:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CloseCodeProtocolError [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1768:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpCodeContinue [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1816:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpCodeText [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1837:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpCodeText [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:1863:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpCodeBinary [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketcorsauthenticator/tst_qwebsocketcorsauthenticator.cpp:57:39: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_QWebSocketCorsAuthenticator::initTestCase' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketcorsauthenticator/tst_qwebsocketcorsauthenticator.cpp:46:10: note: Either there is a missing 'override', or the member function 'tst_QWebSocketCorsAuthenticator::initTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketcorsauthenticator/tst_qwebsocketcorsauthenticator.cpp:57:39: note: Either there is a missing 'override', or the member function 'tst_QWebSocketCorsAuthenticator::initTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketcorsauthenticator/tst_qwebsocketcorsauthenticator.cpp:61:39: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_QWebSocketCorsAuthenticator::cleanupTestCase' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketcorsauthenticator/tst_qwebsocketcorsauthenticator.cpp:47:10: note: Either there is a missing 'override', or the member function 'tst_QWebSocketCorsAuthenticator::cleanupTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketcorsauthenticator/tst_qwebsocketcorsauthenticator.cpp:61:39: note: Either there is a missing 'override', or the member function 'tst_QWebSocketCorsAuthenticator::cleanupTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketcorsauthenticator/tst_qwebsocketcorsauthenticator.cpp:64:39: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_QWebSocketCorsAuthenticator::init' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketcorsauthenticator/tst_qwebsocketcorsauthenticator.cpp:48:10: note: Either there is a missing 'override', or the member function 'tst_QWebSocketCorsAuthenticator::init' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketcorsauthenticator/tst_qwebsocketcorsauthenticator.cpp:64:39: note: Either there is a missing 'override', or the member function 'tst_QWebSocketCorsAuthenticator::init' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketcorsauthenticator/tst_qwebsocketcorsauthenticator.cpp:68:39: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_QWebSocketCorsAuthenticator::cleanup' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketcorsauthenticator/tst_qwebsocketcorsauthenticator.cpp:49:10: note: Either there is a missing 'override', or the member function 'tst_QWebSocketCorsAuthenticator::cleanup' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketcorsauthenticator/tst_qwebsocketcorsauthenticator.cpp:68:39: note: Either there is a missing 'override', or the member function 'tst_QWebSocketCorsAuthenticator::cleanup' can be static. qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.h:155:13: performance: Function 'resourceName()' should return member 'm_resourceName' by const reference. [returnByReference] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.h:157:13: performance: Function 'origin()' should return member 'm_origin' by const reference. [returnByReference] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.h:158:13: performance: Function 'protocol()' should return member 'm_protocol' by const reference. [returnByReference] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.h:159:13: performance: Function 'extension()' should return member 'm_extension' by const reference. [returnByReference] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.h:161:13: performance: Function 'closeReason()' should return member 'm_closeReason' by const reference. [returnByReference] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:97:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QString [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:187:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VersionUnknown [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:205:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable version [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:238:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PauseNever [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:264:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConnectingState [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:290:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SocketError [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:359:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SocketError [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:427:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUrl [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:551:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QString [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:622:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SocketError [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:641:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QNetworkRequest [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:669:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QueuedConnection [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:700:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QtWarningMsg [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:770:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DefaultProxy [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:794:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUrl [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:821:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable connected [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:300:0: error: failed to evaluate #if condition, undefined function-like macro invocation: QT_HAS_INCLUDE( ... ) [syntaxError] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:849:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable connected [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:520:19: style: The statement 'if (m_version!=version) m_version=version' is logically equivalent to 'm_version=version'. [duplicateConditionalAssign] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:521:19: note: Assignment 'm_version=version' qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:520:19: note: Condition 'm_version!=version' is redundant qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:530:24: style: The statement 'if (m_resourceName!=resourceName) m_resourceName=resourceName' is logically equivalent to 'm_resourceName=resourceName'. [duplicateConditionalAssign] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:531:24: note: Assignment 'm_resourceName=resourceName' qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:530:24: note: Condition 'm_resourceName!=resourceName' is redundant qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:539:19: style: The statement 'if (m_request!=request) m_request=request' is logically equivalent to 'm_request=request'. [duplicateConditionalAssign] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:540:19: note: Assignment 'm_request=request' qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:539:19: note: Condition 'm_request!=request' is redundant qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:548:18: style: The statement 'if (m_origin!=origin) m_origin=origin' is logically equivalent to 'm_origin=origin'. [duplicateConditionalAssign] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:549:18: note: Assignment 'm_origin=origin' qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:548:18: note: Condition 'm_origin!=origin' is redundant qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:557:20: style: The statement 'if (m_protocol!=protocol) m_protocol=protocol' is logically equivalent to 'm_protocol=protocol'. [duplicateConditionalAssign] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:558:20: note: Assignment 'm_protocol=protocol' qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:557:20: note: Condition 'm_protocol!=protocol' is redundant qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:566:21: style: The statement 'if (m_extension!=extension) m_extension=extension' is logically equivalent to 'm_extension=extension'. [duplicateConditionalAssign] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:567:21: note: Assignment 'm_extension=extension' qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:566:21: note: Condition 'm_extension!=extension' is redundant qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:575:20: style: The statement 'if (m_mustMask!=enable) m_mustMask=enable' is logically equivalent to 'm_mustMask=enable'. [duplicateConditionalAssign] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:576:20: note: Assignment 'm_mustMask=enable' qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:575:20: note: Condition 'm_mustMask!=enable' is redundant qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:1395:23: style: The statement 'if (m_errorString!=errorString) m_errorString=errorString' is logically equivalent to 'm_errorString=errorString'. [duplicateConditionalAssign] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:1396:23: note: Assignment 'm_errorString=errorString' qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:1395:23: note: Condition 'm_errorString!=errorString' is redundant qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:1476:33: style: The statement 'if (m_configuration.m_proxy!=networkProxy) m_configuration.m_proxy=networkProxy' is logically equivalent to 'm_configuration.m_proxy=networkProxy'. [duplicateConditionalAssign] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:1477:33: note: Assignment 'm_configuration.m_proxy=networkProxy' qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:1476:33: note: Condition 'm_configuration.m_proxy!=networkProxy' is redundant qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:308:56: style:inconclusive: Function 'upgradeFrom' argument 1 names different: declaration 'tcpSocket' definition 'pTcpSocket'. [funcArgNamesDifferent] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.h:228:29: note: Function 'upgradeFrom' argument 1 names different: declaration 'tcpSocket' definition 'pTcpSocket'. qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:308:56: note: Function 'upgradeFrom' argument 1 names different: declaration 'tcpSocket' definition 'pTcpSocket'. qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:402:17: style: Local variable 'resourceName' shadows outer function [shadowFunction] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.h:155:13: note: Shadowed declaration qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:402:17: note: Shadow variable qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:1039:23: style: Local variable 'version' shadows outer function [shadowFunction] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.h:154:33: note: Shadowed declaration qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:1039:23: note: Shadow variable qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:340:80: performance: Function parameter 'reason' should be passed by const reference. However it seems that 'close' is a callback function. [passedByValueCallback] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:641:49: note: Function pointer used here. qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:340:80: note: Function parameter 'reason' should be passed by const reference. However it seems that 'close' is a callback function. qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:1230:87: performance: Function parameter 'closeReason' should be passed by const reference. However it seems that 'processClose' is a callback function. [passedByValueCallback] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:647:49: note: Function pointer used here. qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:1230:87: note: Function parameter 'closeReason' should be passed by const reference. However it seems that 'processClose' is a callback function. qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:1239:59: performance: Function parameter 'resourceName' should be passed by const reference. [passedByValue] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:1240:59: performance: Function parameter 'host' should be passed by const reference. [passedByValue] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:1241:59: performance: Function parameter 'origin' should be passed by const reference. [passedByValue] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:1242:59: performance: Function parameter 'extensions' should be passed by const reference. [passedByValue] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:1243:59: performance: Function parameter 'protocols' should be passed by const reference. [passedByValue] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:1244:62: performance: Function parameter 'key' should be passed by const reference. [passedByValue] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocket_p.cpp:888:21: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:170:22: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_QWebSocket::initTestCase' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:138:10: note: Either there is a missing 'override', or the member function 'tst_QWebSocket::initTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:170:22: note: Either there is a missing 'override', or the member function 'tst_QWebSocket::initTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:174:22: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_QWebSocket::cleanupTestCase' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:139:10: note: Either there is a missing 'override', or the member function 'tst_QWebSocket::cleanupTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:174:22: note: Either there is a missing 'override', or the member function 'tst_QWebSocket::cleanupTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:757:22: style:inconclusive: Either there is a missing 'override', or the member function 'tst_QWebSocket::tst_moveToThreadNoWarning' can be const. [functionConst] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:151:10: note: Either there is a missing 'override', or the member function 'tst_QWebSocket::tst_moveToThreadNoWarning' can be const. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:757:22: note: Either there is a missing 'override', or the member function 'tst_QWebSocket::tst_moveToThreadNoWarning' can be const. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketframe/tst_websocketframe.cpp:193:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpCodeBinary [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketframe/tst_websocketframe.cpp:252:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpCodeText [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketframe/tst_websocketframe.cpp:318:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rsv1 [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketframe/tst_websocketframe.cpp:360:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpCodeText [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketframe/tst_websocketframe.cpp:484:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rsv1 [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketframe/tst_websocketframe.cpp:522:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CloseCodeGoingAway [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketframe/tst_websocketframe.cpp:606:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable payload [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:343:21: style: Redundant initialization for 'socketState'. The initialized value is overwritten before it is read. [redundantInitialization] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:340:50: note: socketState is initialized qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:343:21: note: socketState is overwritten qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:406:17: style: Redundant initialization for 'socketState'. The initialized value is overwritten before it is read. [redundantInitialization] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:403:46: note: socketState is initialized qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocket/tst_qwebsocket.cpp:406:17: note: socketState is overwritten qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketprotocol/tst_websocketprotocol.cpp:123:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mask [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketprotocol/tst_websocketprotocol.cpp:132:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpCodeBinary [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketprotocol/tst_websocketprotocol.cpp:155:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opCode [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketprotocol/tst_websocketprotocol.cpp:204:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable closeCode [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketprotocol/tst_websocketprotocol.cpp:216:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Version0 [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketprotocol/tst_websocketprotocol.cpp:278:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable versionString [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketprotocol/tst_websocketprotocol.cpp:72:29: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_WebSocketProtocol::initTestCase' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketprotocol/tst_websocketprotocol.cpp:51:10: note: Either there is a missing 'override', or the member function 'tst_WebSocketProtocol::initTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketprotocol/tst_websocketprotocol.cpp:72:29: note: Either there is a missing 'override', or the member function 'tst_WebSocketProtocol::initTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketprotocol/tst_websocketprotocol.cpp:76:29: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_WebSocketProtocol::cleanupTestCase' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketprotocol/tst_websocketprotocol.cpp:52:10: note: Either there is a missing 'override', or the member function 'tst_WebSocketProtocol::cleanupTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketprotocol/tst_websocketprotocol.cpp:76:29: note: Either there is a missing 'override', or the member function 'tst_WebSocketProtocol::cleanupTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketprotocol/tst_websocketprotocol.cpp:85:29: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_WebSocketProtocol::cleanup' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketprotocol/tst_websocketprotocol.cpp:54:10: note: Either there is a missing 'override', or the member function 'tst_WebSocketProtocol::cleanup' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketprotocol/tst_websocketprotocol.cpp:85:29: note: Either there is a missing 'override', or the member function 'tst_WebSocketProtocol::cleanup' can be static. qtwebsockets-everywhere-src-5.15.17/tests/manual/compliance/tst_compliance.cpp:53:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable disconnected [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketframe/tst_websocketframe.cpp:161:26: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_WebSocketFrame::initTestCase' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketframe/tst_websocketframe.cpp:140:10: note: Either there is a missing 'override', or the member function 'tst_WebSocketFrame::initTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketframe/tst_websocketframe.cpp:161:26: note: Either there is a missing 'override', or the member function 'tst_WebSocketFrame::initTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/manual/compliance/tst_compliance.cpp:69:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable disconnected [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketframe/tst_websocketframe.cpp:165:26: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_WebSocketFrame::cleanupTestCase' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketframe/tst_websocketframe.cpp:141:10: note: Either there is a missing 'override', or the member function 'tst_WebSocketFrame::cleanupTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketframe/tst_websocketframe.cpp:165:26: note: Either there is a missing 'override', or the member function 'tst_WebSocketFrame::cleanupTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/manual/compliance/tst_compliance.cpp:91:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable disconnected [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketframe/tst_websocketframe.cpp:174:26: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_WebSocketFrame::cleanup' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketframe/tst_websocketframe.cpp:143:10: note: Either there is a missing 'override', or the member function 'tst_WebSocketFrame::cleanup' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/websocketframe/tst_websocketframe.cpp:174:26: note: Either there is a missing 'override', or the member function 'tst_WebSocketFrame::cleanup' can be static. qtwebsockets-everywhere-src-5.15.17/tests/manual/compliance/tst_compliance.cpp:71:70: performance: Function parameter 'message' should be passed by const reference. [passedByValue] qtwebsockets-everywhere-src-5.15.17/tests/manual/websockets/tst_websockets.cpp:101:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConnectedState [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/manual/websockets/tst_websockets.cpp:128:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QString [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/manual/websockets/tst_websockets.cpp:139:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QByteArray [valueFlowBailoutIncompleteVar] qtwebsockets-everywhere-src-5.15.17/tests/manual/websockets/tst_websockets.cpp:116:26: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_WebSocketsTest::init' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/manual/websockets/tst_websockets.cpp:51:10: note: Either there is a missing 'override', or the member function 'tst_WebSocketsTest::init' can be static. qtwebsockets-everywhere-src-5.15.17/tests/manual/websockets/tst_websockets.cpp:116:26: note: Either there is a missing 'override', or the member function 'tst_WebSocketsTest::init' can be static. qtwebsockets-everywhere-src-5.15.17/tests/manual/websockets/tst_websockets.cpp:120:26: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_WebSocketsTest::cleanup' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/manual/websockets/tst_websockets.cpp:52:10: note: Either there is a missing 'override', or the member function 'tst_WebSocketsTest::cleanup' can be static. qtwebsockets-everywhere-src-5.15.17/tests/manual/websockets/tst_websockets.cpp:120:26: note: Either there is a missing 'override', or the member function 'tst_WebSocketsTest::cleanup' can be static. qtwebsockets-everywhere-src-5.15.17/tests/manual/websockets/tst_websockets.cpp:167:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:206:25: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_DataProcessor::initTestCase' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:57:10: note: Either there is a missing 'override', or the member function 'tst_DataProcessor::initTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:206:25: note: Either there is a missing 'override', or the member function 'tst_DataProcessor::initTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:210:25: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_DataProcessor::cleanupTestCase' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:58:10: note: Either there is a missing 'override', or the member function 'tst_DataProcessor::cleanupTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:210:25: note: Either there is a missing 'override', or the member function 'tst_DataProcessor::cleanupTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:220:25: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_DataProcessor::cleanup' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:60:10: note: Either there is a missing 'override', or the member function 'tst_DataProcessor::cleanup' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:220:25: note: Either there is a missing 'override', or the member function 'tst_DataProcessor::cleanup' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:851:25: style: Local variable 'arguments' shadows outer variable [shadowVariable] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:757:21: note: Shadowed declaration qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/dataprocessor/tst_dataprocessor.cpp:851:25: note: Shadow variable diff: 2.18.0 qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketserver.cpp:576:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Any [valueFlowBailoutIncompleteVar] 2.18.0 qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketserver.cpp:703:52: style:inconclusive: Function 'setNativeDescriptor' argument 1 names different: declaration 'descriptor' definition 'socketDescriptor'. [funcArgNamesDifferent] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketserver.h:120:38: note: Function 'setNativeDescriptor' argument 1 names different: declaration 'descriptor' definition 'socketDescriptor'. qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketserver.cpp:703:52: note: Function 'setNativeDescriptor' argument 1 names different: declaration 'descriptor' definition 'socketDescriptor'. head qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketserver.h:55:0: error: failed to evaluate #if condition, undefined function-like macro invocation: QT_HAS_INCLUDE( ... ) [syntaxError] 2.18.0 qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketserver.h:70:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] 2.18.0 qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketserver_p.cpp:101:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QueuedConnection [valueFlowBailoutIncompleteVar] 2.18.0 qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketserver_p.cpp:141:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QueuedConnection [valueFlowBailoutIncompleteVar] 2.18.0 qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketserver_p.cpp:337:22: style: The statement 'if (m_serverName!=serverName) m_serverName=serverName' is logically equivalent to 'm_serverName=serverName'. [duplicateConditionalAssign] qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketserver_p.cpp:338:22: note: Assignment 'm_serverName=serverName' qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketserver_p.cpp:337:22: note: Condition 'm_serverName!=serverName' is redundant 2.18.0 qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketserver_p.cpp:476:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] 2.18.0 qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketserver_p.cpp:529:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QueuedConnection [valueFlowBailoutIncompleteVar] 2.18.0 qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketserver_p.cpp:550:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeout [valueFlowBailoutIncompleteVar] 2.18.0 qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketserver_p.h:118:13: performance: Function 'serverName()' should return member 'm_serverName' by const reference. [returnByReference] 2.18.0 qtwebsockets-everywhere-src-5.15.17/src/websockets/qwebsocketserver_p.h:76:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] 2.18.0 qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:175:28: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_QWebSocketServer::initTestCase' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:107:10: note: Either there is a missing 'override', or the member function 'tst_QWebSocketServer::initTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:175:28: note: Either there is a missing 'override', or the member function 'tst_QWebSocketServer::initTestCase' can be static. 2.18.0 qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:184:28: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_QWebSocketServer::cleanupTestCase' can be static. [functionStatic] qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:108:10: note: Either there is a missing 'override', or the member function 'tst_QWebSocketServer::cleanupTestCase' can be static. qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:184:28: note: Either there is a missing 'override', or the member function 'tst_QWebSocketServer::cleanupTestCase' can be static. 2.18.0 qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:191:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NonSecureMode [valueFlowBailoutIncompleteVar] 2.18.0 qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:259:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NonSecureMode [valueFlowBailoutIncompleteVar] head qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:300:0: error: failed to evaluate #if condition, undefined function-like macro invocation: QT_HAS_INCLUDE( ... ) [syntaxError] 2.18.0 qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:316:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NonSecureMode [valueFlowBailoutIncompleteVar] 2.18.0 qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:359:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NonSecureMode [valueFlowBailoutIncompleteVar] 2.18.0 qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:403:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SecureMode [valueFlowBailoutIncompleteVar] 2.18.0 qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:408:55: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:487:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NonSecureMode [valueFlowBailoutIncompleteVar] 2.18.0 qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:563:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NonSecureMode [valueFlowBailoutIncompleteVar] 2.18.0 qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:598:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] 2.18.0 qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:616:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NonSecureMode [valueFlowBailoutIncompleteVar] 2.18.0 qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:659:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NonSecureMode [valueFlowBailoutIncompleteVar] 2.18.0 qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:708:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable disconnected [valueFlowBailoutIncompleteVar] 2.18.0 qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:727:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NonSecureMode [valueFlowBailoutIncompleteVar] 2.18.0 qtwebsockets-everywhere-src-5.15.17/tests/auto/websockets/qwebsocketserver/tst_qwebsocketserver.cpp:845:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NonSecureMode [valueFlowBailoutIncompleteVar] DONE