plasma-breeze-6.2.3-1.fc42

List of Findings

Error: COMPILER_WARNING: [#def1]
plasma-breeze-6.2.3-build/breeze-6.2.3/kdecoration/breezedecoration.cpp: scope_hint: In member function ‘void Breeze::Decoration::updateButtonsGeometry()’
plasma-breeze-6.2.3-build/breeze-6.2.3/kdecoration/breezedecoration.cpp:491:58: warning[-Wrange-loop-construct]: loop variable ‘button’ of type ‘const QPointer<KDecoration2::DecorationButton>&’ binds to a temporary constructed from type ‘KDecoration2::DecorationButton* const’
#  491 |     for (const QPointer<KDecoration2::DecorationButton> &button : buttonList) {
#      |                                                          ^~~~~~
plasma-breeze-6.2.3-build/breeze-6.2.3/kdecoration/breezedecoration.cpp:491:58: note: use non-reference type ‘const QPointer<KDecoration2::DecorationButton>’ to make the copy explicit or ‘KDecoration2::DecorationButton* const&’ to prevent copying
#  489|       // adjust button position
#  490|       const auto buttonList = m_leftButtons->buttons() + m_rightButtons->buttons();
#  491|->     for (const QPointer<KDecoration2::DecorationButton> &button : buttonList) {
#  492|           auto btn = static_cast<Button *>(button.get());
#  493|   

Error: COMPILER_WARNING (CWE-477): [#def2]
plasma-breeze-6.2.3-build/breeze-6.2.3/kdecoration/breezedecoration.cpp: scope_hint: In lambda function
plasma-breeze-6.2.3-build/breeze-6.2.3/kdecoration/breezedecoration.cpp:685:24: warning[-Wdeprecated]: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20
#  685 |         auto drawThe = [=](const QRect &r) {
#      |                        ^
plasma-breeze-6.2.3-build/breeze-6.2.3/kdecoration/breezedecoration.cpp:685:24: note: add explicit ‘this’ or ‘*this’ capture
#  683|           painter->setClipRect(backRect, Qt::IntersectClip);
#  684|   
#  685|->         auto drawThe = [=](const QRect &r) {
#  686|               // the rect is made a little bit larger to be able to clip away the rounded corners at the bottom and sides
#  687|               painter->drawRoundedRect(r.adjusted(isLeftEdge() ? -m_scaledCornerRadius : 0,

Error: COMPILER_WARNING (CWE-477): [#def3]
plasma-breeze-6.2.3-build/breeze-6.2.3/kstyle/breezehelper.cpp: scope_hint: In member function ‘bool Breeze::Helper::compositingActive() const’
plasma-breeze-6.2.3-build/breeze-6.2.3/kstyle/breezehelper.cpp:1693:48: warning[-Wdeprecated-declarations]: ‘static bool KWindowSystem::compositingActive()’ is deprecated: Since 5.101. Use KX11Extras::compositingActive() instead
# 1693 |         return KWindowSystem::compositingActive();
#      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/KF5/KWindowSystem/KWindowSystem:1: included_from: Included from here.
plasma-breeze-6.2.3-build/breeze-6.2.3/kstyle/breezehelper.cpp:15: included_from: Included from here.
/usr/include/KF5/KWindowSystem/kwindowsystem.h:231:17: note: declared here
#  231 |     static bool compositingActive();
#      |                 ^~~~~~~~~~~~~~~~~
# 1691|       if (isX11()) {
# 1692|   #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
# 1693|->         return KWindowSystem::compositingActive();
# 1694|   #elif __has_include(<KX11Extras>)
# 1695|           return KX11Extras::compositingActive();

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
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-201.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameplasma-breeze-6.2.3-1.fc42
store-results-to/tmp/tmp6dfmlmyu/plasma-breeze-6.2.3-1.fc42.tar.xz
time-created2024-11-13 02:31:34
time-finished2024-11-13 02:35:22
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp6dfmlmyu/plasma-breeze-6.2.3-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp6dfmlmyu/plasma-breeze-6.2.3-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9