Fixed findings

List of Findings

Error: COMPILER_WARNING (CWE-195): [#def1]
deepin-qt5platform-plugins-5.6.32-build/qt5platform-plugins-5.6.32/wayland/dwayland/dwaylandinterfacehook.cpp: scope_hint: In static member function ‘static bool deepin_platform_plugin::DWaylandInterfaceHook::supportForSplittingWindowByType(quint32, quint32)’
deepin-qt5platform-plugins-5.6.32-build/qt5platform-plugins-5.6.32/wayland/dwayland/dwaylandinterfacehook.cpp:189:66: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘quint32’ {aka ‘unsigned int’}
#  189 |     return window->property(::supportForSplittingWindow).toInt() >= screenSplittingType;
#      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
#  187|           return false;
#  188|       DNoTitlebarWlWindowHelper::setWindowProperty(window, ::supportForSplittingWindow, false);
#  189|->     return window->property(::supportForSplittingWindow).toInt() >= screenSplittingType;
#  190|   }
#  191|   

Error: COMPILER_WARNING (CWE-563): [#def2]
deepin-qt5platform-plugins-5.6.32-build/qt5platform-plugins-5.6.32/wayland/wayland-shell/config.tests/deepin-kwin-test/main.cpp: scope_hint: In function ‘int main()’
deepin-qt5platform-plugins-5.6.32-build/qt5platform-plugins-5.6.32/wayland/wayland-shell/config.tests/deepin-kwin-test/main.cpp:13:49: warning[-Wunused-value]: statement has no effect
#   13 |     KWayland::Client::PlasmaShellSurface::Role::Override;
#      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
#   11|   int main()
#   12|   {
#   13|->     KWayland::Client::PlasmaShellSurface::Role::Override;
#   14|       return 0;
#   15|   }

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.82.0
diffbase-analyzer-version-cppcheck2.16.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer15.0.0
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-135.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namedeepin-qt5platform-plugins-5.6.32-3.fc42
diffbase-store-results-to/tmp/tmpnyndud2m/deepin-qt5platform-plugins-5.6.32-3.fc42.tar.xz
diffbase-time-created2024-11-12 23:33:44
diffbase-time-finished2024-11-12 23:35:22
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpnyndud2m/deepin-qt5platform-plugins-5.6.32-3.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpnyndud2m/deepin-qt5platform-plugins-5.6.32-3.fc42.src.rpm'
diffbase-tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-135.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namedeepin-qt5platform-plugins-5.6.32-1.fc41
store-results-to/tmp/tmpd0rifc_g/deepin-qt5platform-plugins-5.6.32-1.fc41.tar.xz
time-created2024-11-12 23:31:00
time-finished2024-11-12 23:33:20
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpd0rifc_g/deepin-qt5platform-plugins-5.6.32-1.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpd0rifc_g/deepin-qt5platform-plugins-5.6.32-1.fc41.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9