2025-10-30 10:48 ftp://ftp.de.debian.org/debian/pool/main/k/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client_0.4.0.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.48+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: 32ab9d1 (2025-10-30 07:38:24 +0100) count: 17 23 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: kdsoap-ws-discovery-client-0.4.0/examples/onvif-discover/main.cpp:15:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quit [valueFlowBailoutIncompleteVar] kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryclient.h:17:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KDSOAP_VERSION_CHECK( ... ) [preprocessorErrorDirective] kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryclient.h:17:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KDSOAP_VERSION_CHECK( ... ) [preprocessorErrorDirective] kdsoap-ws-discovery-client-0.4.0/examples/onvif-discover/onvifdiscover.cpp:23:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable matchReceived [valueFlowBailoutIncompleteVar] kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryserviceaggregator.h:31:5: style: Class 'WSDiscoveryServiceAggregator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kdsoap-ws-discovery-client-0.4.0/autotests/test_wsdiscoveryclient.cpp:50:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Any [valueFlowBailoutIncompleteVar] kdsoap-ws-discovery-client-0.4.0/autotests/test_wsdiscoveryclient.cpp:101:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Any [valueFlowBailoutIncompleteVar] kdsoap-ws-discovery-client-0.4.0/autotests/test_wsdiscoveryclient.cpp:150:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable probeMatchReceived [valueFlowBailoutIncompleteVar] kdsoap-ws-discovery-client-0.4.0/autotests/test_wsdiscoveryclient.cpp:216:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable resolveMatchReceived [valueFlowBailoutIncompleteVar] kdsoap-ws-discovery-client-0.4.0/src/wsdiscoverytargetservice.cpp:19:5: performance: Variable 'd' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] kdsoap-ws-discovery-client-0.4.0/src/wsdiscoverytargetservice.cpp:24:5: performance: Variable 'd' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] kdsoap-ws-discovery-client-0.4.0/src/wsdiscoverytargetservice.h:24:13: performance: Function 'endpointReference()' should return member 'endpointReference' by const reference. [returnByReference] kdsoap-ws-discovery-client-0.4.0/src/wsdiscoverytargetservice.h:25:20: performance: Function 'typeList()' should return member 'typeList' by const reference. [returnByReference] kdsoap-ws-discovery-client-0.4.0/src/wsdiscoverytargetservice.h:27:17: performance: Function 'scopeList()' should return member 'scopeList' by const reference. [returnByReference] kdsoap-ws-discovery-client-0.4.0/src/wsdiscoverytargetservice.h:29:17: performance: Function 'xAddrList()' should return member 'xAddrList' by const reference. [returnByReference] kdsoap-ws-discovery-client-0.4.0/src/wsdiscoverytargetservice.cpp:48:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] kdsoap-ws-discovery-client-0.4.0/src/wsdiscoverytargetservice.cpp:58:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] diff: 2.18.0 kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryclient.cpp:101:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LiteralUse [valueFlowBailoutIncompleteVar] 2.18.0 kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryclient.cpp:161:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDSoapWSDiscoveryClient [valueFlowBailoutIncompleteVar] 2.18.0 kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryclient.cpp:46:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DefaultForPlatform [valueFlowBailoutIncompleteVar] 2.18.0 kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryclient.cpp:68:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LiteralUse [valueFlowBailoutIncompleteVar] 2.18.0 kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryclient.cpp:89:52: style:inconclusive: Function 'sendResolve' argument 1 names different: declaration 'endpointReference' definition 'endpointReferenceString'. [funcArgNamesDifferent] kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryclient.h:84:37: note: Function 'sendResolve' argument 1 names different: declaration 'endpointReference' definition 'endpointReferenceString'. kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryclient.cpp:89:52: note: Function 'sendResolve' argument 1 names different: declaration 'endpointReference' definition 'endpointReferenceString'. head kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryclient.h:17:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KDSOAP_VERSION_CHECK( ... ) [preprocessorErrorDirective] head kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryclient.h:17:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KDSOAP_VERSION_CHECK( ... ) [preprocessorErrorDirective] 2.18.0 kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryprobejob.cpp:91:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDSoapWSDiscoveryClient [valueFlowBailoutIncompleteVar] 2.18.0 kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryprobejob.h:38:20: performance: Function 'typeList()' should return member 'm_typeList' by const reference. [returnByReference] 2.18.0 kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryprobejob.h:51:17: performance: Function 'scopeList()' should return member 'm_scopeList' by const reference. [returnByReference] DONE