Newly introduced defects

List of Defects

Error: COMPILER_WARNING (CWE-563): [#def1]
plasma-desktop-6.1.1-build/plasma-desktop-6.1.1/kcms/keyboard/keyboardmodel.cpp: scope_hint: In member function ‘virtual int KeyboardModel::rowCount(const QModelIndex&) const’
plasma-desktop-6.1.1-build/plasma-desktop-6.1.1/kcms/keyboard/keyboardmodel.cpp:19:48: warning[-Wunused-parameter]: unused parameter ‘parent’
#   19 | int KeyboardModel::rowCount(const QModelIndex &parent) const
#      |                             ~~~~~~~~~~~~~~~~~~~^~~~~~
#   17|   }
#   18|   
#   19|-> int KeyboardModel::rowCount(const QModelIndex &parent) const
#   20|   {
#   21|       if (!m_rules)

Error: COMPILER_WARNING (CWE-563): [#def2]
plasma-desktop-6.1.1-build/plasma-desktop-6.1.1/kcms/keyboard/layoutmodel.cpp: scope_hint: In member function ‘virtual int LayoutModel::rowCount(const QModelIndex&) const’
plasma-desktop-6.1.1-build/plasma-desktop-6.1.1/kcms/keyboard/layoutmodel.cpp:29:46: warning[-Wunused-parameter]: unused parameter ‘parent’
#   29 | int LayoutModel::rowCount(const QModelIndex &parent) const
#      |                           ~~~~~~~~~~~~~~~~~~~^~~~~~
#   27|   }
#   28|   
#   29|-> int LayoutModel::rowCount(const QModelIndex &parent) const
#   30|   {
#   31|       return m_data.count();

Error: COMPILER_WARNING (CWE-563): [#def3]
plasma-desktop-6.1.1-build/plasma-desktop-6.1.1/kcms/keyboard/userlayoutmodel.cpp: scope_hint: In member function ‘virtual int UserLayoutModel::rowCount(const QModelIndex&) const’
plasma-desktop-6.1.1-build/plasma-desktop-6.1.1/kcms/keyboard/userlayoutmodel.cpp:29:50: warning[-Wunused-parameter]: unused parameter ‘parent’
#   29 | int UserLayoutModel::rowCount(const QModelIndex &parent) const
#      |                               ~~~~~~~~~~~~~~~~~~~^~~~~~
#   27|   }
#   28|   
#   29|-> int UserLayoutModel::rowCount(const QModelIndex &parent) const
#   30|   {
#   31|       return m_config->layouts().count();

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.0.3-1.fc40
diffbase-store-results-to/tmp/tmp1tcw8hl7/plasma-desktop-6.0.3-1.fc40.tar.xz
diffbase-time-created2024-07-03 16:55:44
diffbase-time-finished2024-07-03 17:08:16
diffbase-toolcsmock
diffbase-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'
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.1.1-1.fc41
store-results-to/tmp/tmpohhh1p5e/plasma-desktop-6.1.1-1.fc41.tar.xz
time-created2024-07-03 17:08:46
time-finished2024-07-03 17:20:29
titleNewly introduced defects
toolcsmock
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'
tool-versioncsmock-3.5.3-1.el9