2025-11-23 14:21 ftp://ftp.de.debian.org/debian/pool/main/q/qt6-webview/qt6-webview_6.9.2.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -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: cb76e52 (2025-11-22 14:47:37 +0100) count: 36 48 elapsed-time: 0.5 0.5 head-timing-info: old-timing-info: head results: qtwebview-everywhere-src-6.9.2/examples/webview/minibrowser/main.cpp:32:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _L1 [valueFlowBailoutIncompleteVar] qtwebview-everywhere-src-6.9.2/src/plugins/android/qandroidwebview.cpp:305:1: error: There is an unknown macro here somewhere. Configuration is required. If Q_DECLARE_JNI_NATIVE_METHOD is a macro then please configure it. [unknownMacro] qtwebview-everywhere-src-6.9.2/examples/webview/minibrowser/main.cpp:46:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QT_VERSION_STR [valueFlowBailoutIncompleteVar] qtwebview-everywhere-src-6.9.2/src/plugins/wasm/qwasmwebview.cpp:188:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Hidden [valueFlowBailoutIncompleteVar] qtwebview-everywhere-src-6.9.2/src/plugins/winrt/qwinrtwebview.cpp:486:0: error: failed to evaluate #if condition, undefined function-like macro invocation: WINAPI_FAMILY_PARTITION( ... ) [syntaxError] qtwebview-everywhere-src-6.9.2/src/plugins/webengine/qwebenginewebview.cpp:109:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Hidden [valueFlowBailoutIncompleteVar] qtwebview-everywhere-src-6.9.2/src/plugins/webengine/qwebenginewebview.cpp:283:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable urlChanged [valueFlowBailoutIncompleteVar] qtwebview-everywhere-src-6.9.2/src/plugins/webengine/qwebenginewebview.cpp:306:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cookieAdded [valueFlowBailoutIncompleteVar] qtwebview-everywhere-src-6.9.2/src/plugins/wasm/qwasmwebview.cpp:89:59: style:inconclusive: Function 'setHttpUserAgent' argument 1 names different: declaration 'httpUserAgent' definition 'userAgent'. [funcArgNamesDifferent] qtwebview-everywhere-src-6.9.2/src/plugins/wasm/qwasmwebview_p.h:57:42: note: Function 'setHttpUserAgent' argument 1 names different: declaration 'httpUserAgent' definition 'userAgent'. qtwebview-everywhere-src-6.9.2/src/plugins/wasm/qwasmwebview.cpp:89:59: note: Function 'setHttpUserAgent' argument 1 names different: declaration 'httpUserAgent' definition 'userAgent'. qtwebview-everywhere-src-6.9.2/src/quick/qquickviewcontroller.cpp:40:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Parent [valueFlowBailoutIncompleteVar] qtwebview-everywhere-src-6.9.2/src/quick/qquickviewcontroller.cpp:50:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Parent [valueFlowBailoutIncompleteVar] qtwebview-everywhere-src-6.9.2/src/quick/qquickviewcontroller.cpp:143:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Windowed [valueFlowBailoutIncompleteVar] qtwebview-everywhere-src-6.9.2/src/quick/qquickviewcontroller.cpp:237:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Hidden [valueFlowBailoutIncompleteVar] qtwebview-everywhere-src-6.9.2/src/plugins/webengine/qwebenginewebview.cpp:226:13: style: Local variable 'httpUserAgent' shadows outer function [shadowFunction] qtwebview-everywhere-src-6.9.2/src/plugins/webengine/qwebenginewebview_p.h:71:13: note: Shadowed declaration qtwebview-everywhere-src-6.9.2/src/plugins/webengine/qwebenginewebview.cpp:226:13: note: Shadow variable qtwebview-everywhere-src-6.9.2/src/quick/qquickwebview_p.h:23:14: error: syntax error [syntaxError] qtwebview-everywhere-src-6.9.2/src/quick/qquickviewcontroller.cpp:75:80: style:inconclusive: Function 'itemParentChanged' argument 2 names different: declaration 'parent' definition 'newParent'. [funcArgNamesDifferent] qtwebview-everywhere-src-6.9.2/src/quick/qquickviewcontroller.cpp:27:58: note: Function 'itemParentChanged' argument 2 names different: declaration 'parent' definition 'newParent'. qtwebview-everywhere-src-6.9.2/src/quick/qquickviewcontroller.cpp:75:80: note: Function 'itemParentChanged' argument 2 names different: declaration 'parent' definition 'newParent'. qtwebview-everywhere-src-6.9.2/src/webview/qtwebviewfunctions.cpp:35:25: style: Variable 'plugin' can be declared as pointer to const [constVariablePointer] qtwebview-everywhere-src-6.9.2/src/webview/qwebviewfactory.cpp:105:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IID [valueFlowBailoutIncompleteVar] qtwebview-everywhere-src-6.9.2/src/webview/qwebviewfactory.cpp:83:21: style: Variable 'plugin' can be declared as pointer to const [constVariablePointer] qtwebview-everywhere-src-6.9.2/src/webview/qwebview.cpp:45:48: style:inconclusive: Function 'setHttpUserAgent' argument 1 names different: declaration 'httpUserAgent' definition 'userAgent'. [funcArgNamesDifferent] qtwebview-everywhere-src-6.9.2/src/webview/qwebview_p.h:83:42: note: Function 'setHttpUserAgent' argument 1 names different: declaration 'httpUserAgent' definition 'userAgent'. qtwebview-everywhere-src-6.9.2/src/webview/qwebview.cpp:45:48: note: Function 'setHttpUserAgent' argument 1 names different: declaration 'httpUserAgent' definition 'userAgent'. qtwebview-everywhere-src-6.9.2/src/webview/qwebview.cpp:208:54: style:inconclusive: Function 'onHttpUserAgentChanged' argument 1 names different: declaration 'httpUserAgent' definition 'userAgent'. [funcArgNamesDifferent] qtwebview-everywhere-src-6.9.2/src/webview/qwebview_p.h:133:48: note: Function 'onHttpUserAgentChanged' argument 1 names different: declaration 'httpUserAgent' definition 'userAgent'. qtwebview-everywhere-src-6.9.2/src/webview/qwebview.cpp:208:54: note: Function 'onHttpUserAgentChanged' argument 1 names different: declaration 'httpUserAgent' definition 'userAgent'. qtwebview-everywhere-src-6.9.2/src/webview/qwebview.cpp:221:62: style:inconclusive: Function 'QWebViewSettings' argument 1 names different: declaration 'webview' definition 'settings'. [funcArgNamesDifferent] qtwebview-everywhere-src-6.9.2/src/webview/qwebview_p.h:41:57: note: Function 'QWebViewSettings' argument 1 names different: declaration 'webview' definition 'settings'. qtwebview-everywhere-src-6.9.2/src/webview/qwebview.cpp:221:62: note: Function 'QWebViewSettings' argument 1 names different: declaration 'webview' definition 'settings'. qtwebview-everywhere-src-6.9.2/tests/manual/inquickwidget/main.cpp:10:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OpenGL [valueFlowBailoutIncompleteVar] qtwebview-everywhere-src-6.9.2/tests/auto/webview/qwebview/tst_qwebview.cpp:133:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QWebViewLoadRequestPrivate [valueFlowBailoutIncompleteVar] qtwebview-everywhere-src-6.9.2/tests/auto/webview/qwebview/tst_qwebview.cpp:180:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QWebViewLoadRequestPrivate [valueFlowBailoutIncompleteVar] qtwebview-everywhere-src-6.9.2/tests/auto/webview/qwebview/tst_qwebview.cpp:93:20: performance:inconclusive: Either there is a missing 'override', or the member function 'tst_QWebView::runJavaScript' can be static. [functionStatic] qtwebview-everywhere-src-6.9.2/tests/auto/webview/qwebview/tst_qwebview.cpp:39:10: note: Either there is a missing 'override', or the member function 'tst_QWebView::runJavaScript' can be static. qtwebview-everywhere-src-6.9.2/tests/auto/webview/qwebview/tst_qwebview.cpp:93:20: note: Either there is a missing 'override', or the member function 'tst_QWebView::runJavaScript' can be static. qtwebview-everywhere-src-6.9.2/tests/auto/qml/qquickwebview/util.h:36:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LoadSucceededStatus [valueFlowBailoutIncompleteVar] qtwebview-everywhere-src-6.9.2/tests/auto/qml/qquickwebview/util.h:58:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LoadStartedStatus [valueFlowBailoutIncompleteVar] qtwebview-everywhere-src-6.9.2/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp:18:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TempLocation [valueFlowBailoutIncompleteVar] qtwebview-everywhere-src-6.9.2/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp:431:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jsEnabled [valueFlowBailoutIncompleteVar] qtwebview-everywhere-src-6.9.2/tests/auto/qml/qquickwebview/testwindow.h:19:12: style: Class 'TestWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtwebview-everywhere-src-6.9.2/tests/auto/qml/qquickwebview/util.h:22:5: style: Class 'LoadSpy' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtwebview-everywhere-src-6.9.2/tests/auto/qml/qquickwebview/util.h:47:5: style: Class 'LoadStartedCatcher' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtwebview-everywhere-src-6.9.2/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp:86:20: style: Local variable 'webView' shadows outer function [shadowFunction] qtwebview-everywhere-src-6.9.2/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp:66:27: note: Shadowed declaration qtwebview-everywhere-src-6.9.2/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp:86:20: note: Shadow variable qtwebview-everywhere-src-6.9.2/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp:354:20: style: Local variable 'webView' shadows outer function [shadowFunction] qtwebview-everywhere-src-6.9.2/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp:66:27: note: Shadowed declaration qtwebview-everywhere-src-6.9.2/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp:354:20: note: Shadow variable qtwebview-everywhere-src-6.9.2/tests/auto/qml/qquickwebview/util.h:77:36: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] diff: 2.18.0 qtwebview-everywhere-src-6.9.2/src/plugins/winrt/qwinrtwebview.cpp:268:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RuntimeClass_Windows_UI_Xaml_Markup_XamlReader [valueFlowBailoutIncompleteVar] 2.18.0 qtwebview-everywhere-src-6.9.2/src/plugins/winrt/qwinrtwebview.cpp:387:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E_ABORT [valueFlowBailoutIncompleteVar] head qtwebview-everywhere-src-6.9.2/src/plugins/winrt/qwinrtwebview.cpp:486:0: error: failed to evaluate #if condition, undefined function-like macro invocation: WINAPI_FAMILY_PARTITION( ... ) [syntaxError] 2.18.0 qtwebview-everywhere-src-6.9.2/src/plugins/winrt/qwinrtwebview.cpp:49:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_OK [valueFlowBailoutIncompleteVar] 2.18.0 qtwebview-everywhere-src-6.9.2/src/plugins/winrt/qwinrtwebview.cpp:527:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Hidden [valueFlowBailoutIncompleteVar] 2.18.0 qtwebview-everywhere-src-6.9.2/src/plugins/winrt/qwinrtwebview.cpp:537:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Visibility_Collapsed [valueFlowBailoutIncompleteVar] 2.18.0 qtwebview-everywhere-src-6.9.2/src/plugins/winrt/qwinrtwebview.cpp:55:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_OK [valueFlowBailoutIncompleteVar] 2.18.0 qtwebview-everywhere-src-6.9.2/src/plugins/winrt/qwinrtwebview.cpp:617:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Completed [valueFlowBailoutIncompleteVar] 2.18.0 qtwebview-everywhere-src-6.9.2/src/plugins/winrt/qwinrtwebview.cpp:61:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_OK [valueFlowBailoutIncompleteVar] 2.18.0 qtwebview-everywhere-src-6.9.2/src/plugins/winrt/qwinrtwebview.cpp:651:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_OK [valueFlowBailoutIncompleteVar] 2.18.0 qtwebview-everywhere-src-6.9.2/src/plugins/winrt/qwinrtwebview.cpp:666:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LoadFailedStatus [valueFlowBailoutIncompleteVar] 2.18.0 qtwebview-everywhere-src-6.9.2/src/plugins/winrt/qwinrtwebview.cpp:688:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_OK [valueFlowBailoutIncompleteVar] 2.18.0 qtwebview-everywhere-src-6.9.2/src/plugins/winrt/qwinrtwebview.cpp:71:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_OK [valueFlowBailoutIncompleteVar] 2.18.0 qtwebview-everywhere-src-6.9.2/src/plugins/winrt/qwinrtwebview.cpp:83:5: style: Class 'HStringList' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] DONE