Fixed defects

List of Defects

Error: COMPILER_WARNING: [#def1]
plasma-desktop-6.0.3-build/plasma-desktop-6.0.3/kaccess/kaccess.cpp:494:2: warning: #warning before C++23 is a GCC extension
#  494 | #warning is this the best way to invert a pixmap?
#      |  ^~~~~~~
#  492|   
#  493|   #ifdef __GNUC__
#  494|-> #warning is this the best way to invert a pixmap?
#  495|   #endif
#  496|               //    QPixmap invert(window.size.width, window.size.height);

Error: COMPILER_WARNING: [#def2]
plasma-desktop-6.0.3-build/plasma-desktop-6.0.3/kaccess/kaccess.cpp:494:2: warning[-Wcpp]: #warning is this the best way to invert a pixmap?
#  492|   
#  493|   #ifdef __GNUC__
#  494|-> #warning is this the best way to invert a pixmap?
#  495|   #endif
#  496|               //    QPixmap invert(window.size.width, window.size.height);

Error: COMPILER_WARNING: [#def3]
plasma-desktop-6.0.3-build/plasma-desktop-6.0.3/kcms/dateandtime/dtime.cpp: scope_hint: In member function ‘void Dtime::findNTPutility()’
plasma-desktop-6.0.3-build/plasma-desktop-6.0.3/kcms/dateandtime/dtime.cpp:148:25: warning[-Wrange-loop-construct]: loop variable ‘possible_ntputility’ of type ‘const QString&’ binds to a temporary constructed from type ‘const char* const’
#  148 |     for (const QString &possible_ntputility : possible_ntputilities) {
#      |                         ^~~~~~~~~~~~~~~~~~~
plasma-desktop-6.0.3-build/plasma-desktop-6.0.3/kcms/dateandtime/dtime.cpp:148:25: note: use non-reference type ‘const QString’ to make the copy explicit or ‘const char* const&’ to prevent copying
#  146|   
#  147|       const auto possible_ntputilities = {"ntpdate", "rdate"};
#  148|->     for (const QString &possible_ntputility : possible_ntputilities) {
#  149|           ntpUtility = QStandardPaths::findExecutable(possible_ntputility, path);
#  150|           if (!ntpUtility.isEmpty()) {

Error: COMPILER_WARNING: [#def4]
plasma-desktop-6.0.3-build/plasma-desktop-6.0.3/kcms/mouse/inputbackend.h:59:18: warning[-Woverloaded-virtual=]: ‘virtual bool InputBackend::applyConfig(const QVariantHash&)’ was hidden
#   59 |     virtual bool applyConfig(const QVariantHash &)
#      |                  ^~~~~~~~~~~
plasma-desktop-6.0.3-build/plasma-desktop-6.0.3/kcms/mouse/backends/kwin_wl/kwin_wl_backend.h:26:10: note:   by ‘virtual bool KWinWaylandBackend::applyConfig()’
#   26 |     bool applyConfig() override;
#      |          ^~~~~~~~~~~
#   57|       }
#   58|   
#   59|->     virtual bool applyConfig(const QVariantHash &)
#   60|       {
#   61|           return false;

Error: COMPILER_WARNING: [#def5]
plasma-desktop-6.0.3-build/plasma-desktop-6.0.3/kcms/mouse/backends/kwin_wl/kwin_wl_backend.h:9: included_from: Included from here.
plasma-desktop-6.0.3-build/plasma-desktop-6.0.3/redhat-linux-build/kcms/mouse/kapplymousetheme_autogen/XQKYUBJNE2/moc_kwin_wl_backend.cpp:9: included_from: Included from here.
plasma-desktop-6.0.3-build/plasma-desktop-6.0.3/redhat-linux-build/kcms/mouse/kapplymousetheme_autogen/mocs_compilation.cpp:2: included_from: Included from here.
plasma-desktop-6.0.3-build/plasma-desktop-6.0.3/kcms/mouse/inputbackend.h:63:18: warning[-Woverloaded-virtual=]: ‘virtual bool InputBackend::getConfig(QVariantHash&)’ was hidden
#   63 |     virtual bool getConfig(QVariantHash &)
#      |                  ^~~~~~~~~
plasma-desktop-6.0.3-build/plasma-desktop-6.0.3/kcms/mouse/backends/kwin_wl/kwin_wl_backend.h:27:10: note:   by ‘virtual bool KWinWaylandBackend::getConfig()’
#   27 |     bool getConfig() override;
#      |          ^~~~~~~~~
#   61|           return false;
#   62|       }
#   63|->     virtual bool getConfig(QVariantHash &)
#   64|       {
#   65|           return false;

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-34.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-nameplasma-desktop-6.1.1-1.fc41
diffbase-store-results-to/tmp/tmpohhh1p5e/plasma-desktop-6.1.1-1.fc41.tar.xz
diffbase-time-created2024-07-03 17:08:46
diffbase-time-finished2024-07-03 17:20:29
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpohhh1p5e/plasma-desktop-6.1.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpohhh1p5e/plasma-desktop-6.1.1-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-34.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameplasma-desktop-6.0.3-1.fc40
store-results-to/tmp/tmp1tcw8hl7/plasma-desktop-6.0.3-1.fc40.tar.xz
time-created2024-07-03 16:55:44
time-finished2024-07-03 17:08:16
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp1tcw8hl7/plasma-desktop-6.0.3-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp1tcw8hl7/plasma-desktop-6.0.3-1.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9